summaryrefslogtreecommitdiff
path: root/community/linuxtv-dvb-apps/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/linuxtv-dvb-apps/PKGBUILD
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/linuxtv-dvb-apps/PKGBUILD')
-rw-r--r--community/linuxtv-dvb-apps/PKGBUILD42
1 files changed, 25 insertions, 17 deletions
diff --git a/community/linuxtv-dvb-apps/PKGBUILD b/community/linuxtv-dvb-apps/PKGBUILD
index c99735f62..b3c49f876 100644
--- a/community/linuxtv-dvb-apps/PKGBUILD
+++ b/community/linuxtv-dvb-apps/PKGBUILD
@@ -1,32 +1,40 @@
-# $Id: PKGBUILD 80369 2012-11-21 04:04:30Z jconder $
+# $Id: PKGBUILD 102879 2013-12-23 10:19:57Z bgyorgy $
# 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
+pkgver=1504
pkgrel=1
-_hgrev=3fc7dfa68484
-pkgdesc='Viewer programs for DVB cards'
+_hgrev=d40083fff895
+pkgdesc='Linux DVB API applications and utilities'
arch=('i686' 'x86_64')
url='http://www.linuxtv.org/'
license=('GPL')
-source=("http://linuxtv.org/hg/dvb-apps/archive/$_hgrev.tar.bz2")
-sha256sums=('60cfd45fe7417a4445a7814ce6e645ddaad0f8e934015c09d53eb93c8739b35a')
+depends=('glibc')
+makedepends=('mercurial')
+source=("hg+http://linuxtv.org/hg/dvb-apps/#revision=$_hgrev")
+sha256sums=('SKIP')
-build() {
- cd "dvb-apps-$_hgrev"
- rm -rf include
-
- make -C lib
- make -C util
+pkgver() {
+ cd "dvb-apps"
+ echo $(hg identify -n)
}
-package() {
- cd "dvb-apps-$_hgrev"
+prepare() {
+ cd "dvb-apps"
+ # Fix build
+ sed -i '/$(sharedir)\/dvb\//d' util/scan/Makefile
+}
- make -C lib DESTDIR="$pkgdir" install
- make -C util DESTDIR="$pkgdir" install
+build() {
+ cd "dvb-apps"
+ make
+}
- chmod 755 "$pkgdir"/usr/lib/*.so*
+package() {
+ cd "dvb-apps"
+ make DESTDIR="$pkgdir" install
+ # Remove conflict with xbase (FS#37862)
+ mv "$pkgdir"/usr/bin/{zap,dvbzap}
}