diff options
Diffstat (limited to 'community/linuxtv-dvb-apps/PKGBUILD')
-rw-r--r-- | community/linuxtv-dvb-apps/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/linuxtv-dvb-apps/PKGBUILD b/community/linuxtv-dvb-apps/PKGBUILD new file mode 100644 index 000000000..66192edc6 --- /dev/null +++ b/community/linuxtv-dvb-apps/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 21619 2010-07-16 20:05:39Z tdziedzic $ +# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> +# Contributor: Camille Moncelier <pix@devlife.org> + +pkgname=linuxtv-dvb-apps +pkgver=1.1.1 +pkgrel=4 +_hgrev=68d20621d93a +pkgdesc='Viewer programs for DVB cards' +arch=('i686' 'x86_64') +url='http://www.linuxtv.org/' +license=('GPL') +install=linuxtv-dvb-apps.install +#source=(http://www.linuxtv.org/download/dvb/$pkgname-$pkgver.tar.bz2) +source=("http://linuxtv.org/hg/dvb-apps/archive/${_hgrev}.tar.bz2") +md5sums=('5b43136359d9555a567a76ba28433afc') + +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* +} + |