diff options
Diffstat (limited to 'community/smtube/PKGBUILD')
-rw-r--r-- | community/smtube/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/smtube/PKGBUILD b/community/smtube/PKGBUILD new file mode 100644 index 000000000..75e841a48 --- /dev/null +++ b/community/smtube/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 93959 2013-07-12 01:36:36Z speps $ +# Maintainer : speps <speps at aur dot archlinux dot org> +# Contributor: Andreas Schnaiter <rc.poison@gmail.com> + +pkgname=smtube +pkgver=1.7 +pkgrel=1 +pkgdesc="A small youtube browser" +arch=('i686' 'x86_64') +url="http://smplayer.sourceforge.net" +license=('GPL') +depends=('qt4') +optdepends=('mplayer: play videos with MPlayer' + 'smplayer: play videos with SMPlayer' + 'gnome-mplayer: play videos with GNOME MPlayer' + 'kdemultimedia-dragonplayer: play videos with Dragon Player' + 'totem: play videos with Totem' + 'vlc: play videos with VLC') +install="$pkgname.install" +source=("http://downloads.sourceforge.net/smplayer/$pkgname-$pkgver.tar.bz2") +md5sums=('d9a954e1b337f0c850dcfc6063255056') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr QMAKE=qmake-qt4 LRELEASE=lrelease-qt4 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir/" install +} |