summaryrefslogtreecommitdiffstats
path: root/abs/extra/linuxtv-dvb-apps/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/linuxtv-dvb-apps/PKGBUILD')
-rw-r--r--abs/extra/linuxtv-dvb-apps/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra/linuxtv-dvb-apps/PKGBUILD b/abs/extra/linuxtv-dvb-apps/PKGBUILD
new file mode 100644
index 0000000..2414de4
--- /dev/null
+++ b/abs/extra/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=2
+_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*
+}