updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / utube-qt / PKGBUILD
bloba111ae860c6e5166f9a8330d53a55342cd475e7f
1 # Contributor: Elyess Zouaghi <elyess@zouaghi.net>
2 # Original: Tim Yang <tdy@gmx.com>
3 pkgname=utube-qt
4 pkgver=1.7
5 pkgrel=1
6 pkgdesc="A graphical (QT) downloader and ripper for YouTube videos"
7 arch=('i686' 'x86_64')
8 url=("http://sourceforge.net/projects/utube/")
9 license=('LGPL')
10 depends=('gambas2' 'wget')
11 optdepends=('ffmpeg: for FLV conversion')
12 source=(http://downloads.sourceforge.net/utube/utube-$pkgver.src.qt.tar.gz
13         utube.desktop)
14 conflicts=('utube', 'utube-gtk')
15 provides=('utube')
16 md5sums=('5d41cbafbde7b10fb4ab29792233ff11'
17          'e89af3e957dd7a07be3f7aaffa3920e6')
19 build() {
20   cd "$srcdir/utube-$pkgver"
21   sed -i 's#\./#/usr/share/utube/#' utube/UTube.sh
22   ./configure --prefix=/usr || return 1
23   make || return 1
24   install -Dm755 utube/UTube.sh "$pkgdir/usr/bin/utube"
25   install -Dm755 utube/utube.gambas "$pkgdir/usr/share/utube/utube.gambas"
26   install -Dm644 utube/dlcomplete.wav "$pkgdir/usr/share/utube/dlcomplete.wav"
27   install -Dm644 utube/utube.png "$pkgdir/usr/share/pixmaps/utube.png"
28   install -Dm644 ../utube.desktop "$pkgdir/usr/share/applications/utube.desktop"