diff options
Diffstat (limited to 'community/linuxtv-dvb-apps')
-rw-r--r-- | community/linuxtv-dvb-apps/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/linuxtv-dvb-apps/PKGBUILD b/community/linuxtv-dvb-apps/PKGBUILD new file mode 100644 index 000000000..c99735f62 --- /dev/null +++ b/community/linuxtv-dvb-apps/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 80369 2012-11-21 04:04:30Z jconder $ +# Maintainer: Jonathan Conder <jonno.conder@gmail.com> +# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> +# Contributor: Camille Moncelier <pix@devlife.org> + +pkgname=linuxtv-dvb-apps +pkgver=1486 +pkgrel=1 +_hgrev=3fc7dfa68484 +pkgdesc='Viewer programs for DVB cards' +arch=('i686' 'x86_64') +url='http://www.linuxtv.org/' +license=('GPL') +source=("http://linuxtv.org/hg/dvb-apps/archive/$_hgrev.tar.bz2") +sha256sums=('60cfd45fe7417a4445a7814ce6e645ddaad0f8e934015c09d53eb93c8739b35a') + +build() { + cd "dvb-apps-$_hgrev" + rm -rf include + + make -C lib + make -C util +} + +package() { + cd "dvb-apps-$_hgrev" + + make -C lib DESTDIR="$pkgdir" install + make -C util DESTDIR="$pkgdir" install + + chmod 755 "$pkgdir"/usr/lib/*.so* +} |