diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/linuxtv-dvb-apps/ChangeLog | 2 | ||||
-rw-r--r-- | abs/core/linuxtv-dvb-apps/PKGBUILD | 55 | ||||
-rw-r--r-- | abs/core/linuxtv-dvb-apps/linuxtv-dvb-apps.install | 4 |
3 files changed, 27 insertions, 34 deletions
diff --git a/abs/core/linuxtv-dvb-apps/ChangeLog b/abs/core/linuxtv-dvb-apps/ChangeLog deleted file mode 100644 index 7fd5bbf..0000000 --- a/abs/core/linuxtv-dvb-apps/ChangeLog +++ /dev/null @@ -1,2 +0,0 @@ -2007-06-26 tardo <tardo@nagi-fanboi.net> -* Built for x86_64 diff --git a/abs/core/linuxtv-dvb-apps/PKGBUILD b/abs/core/linuxtv-dvb-apps/PKGBUILD index 697a786..7dd5b29 100644 --- a/abs/core/linuxtv-dvb-apps/PKGBUILD +++ b/abs/core/linuxtv-dvb-apps/PKGBUILD @@ -1,38 +1,37 @@ -# $Id: PKGBUILD,v 1.2 2007/06/27 02:00:07 tardo Exp $ -# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com> +# $Id$ +# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> # Contributor: Camille Moncelier <pix@devlife.org> pkgname=linuxtv-dvb-apps pkgver=1.1.1 -pkgrel=2 -pkgdesc="Viewer programs for DVB cards" +pkgrel=4 +_hgrev=68d20621d93a +pkgdesc='Viewer programs for DVB cards' arch=('i686' 'x86_64') -url="http://www.linuxtv.org/" +url='http://www.linuxtv.org/' license=('GPL') -depends=(glibc) install=linuxtv-dvb-apps.install -source=(http://www.linuxtv.org/download/dvb/$pkgname-$pkgver.tar.bz2) -md5sums=('de958cdb8d00e74792dd69f3c945b037') +#source=(http://www.linuxtv.org/download/dvb/$pkgname-$pkgver.tar.bz2) +source=("http://linuxtv.org/hg/dvb-apps/archive/${_hgrev}.tar.bz2") build() { - cd $startdir/src/$pkgname-$pkgver - rm -rf include - make || return 1 - install -m 755 -d $startdir/pkg/usr/{bin,share/dvb-utils/{scan/{atsc,dvb-{c,s,t}},av7110_loadkeys}} - install -m 755 util/av7110_loadkeys/av7110_loadkeys $startdir/pkg/usr/bin - install -m 755 util/av7110_loadkeys/evtest $startdir/pkg/usr/bin - install -m 644 util/av7110_loadkeys/*.rc* $startdir/pkg/usr/share/dvb-utils/av7110_loadkeys - install -m 755 util/dvbdate/dvbdate $startdir/pkg/usr/bin - install -m 755 util/dvbnet/dvbnet $startdir/pkg/usr/bin - install -m 755 util/dvbtraffic/dvbtraffic $startdir/pkg/usr/bin - install -m 755 util/scan/scan $startdir/pkg/usr/bin - install -m 644 util/scan/atsc/* $startdir/pkg/usr/share/dvb-utils/scan/atsc - install -m 644 util/scan/dvb-c/* $startdir/pkg/usr/share/dvb-utils/scan/dvb-c - install -m 644 util/scan/dvb-s/* $startdir/pkg/usr/share/dvb-utils/scan/dvb-s - install -m 644 util/scan/dvb-t/* $startdir/pkg/usr/share/dvb-utils/scan/dvb-t - install -m 755 util/szap/azap $startdir/pkg/usr/bin - install -m 755 util/szap/czap $startdir/pkg/usr/bin - install -m 755 util/szap/femon $startdir/pkg/usr/bin - install -m 755 util/szap/szap $startdir/pkg/usr/bin - install -m 755 util/szap/tzap $startdir/pkg/usr/bin + 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* +} + +md5sums=('6e4bc8e5b22609b212f968c7d88e90ab') diff --git a/abs/core/linuxtv-dvb-apps/linuxtv-dvb-apps.install b/abs/core/linuxtv-dvb-apps/linuxtv-dvb-apps.install index f735122..a260be2 100644 --- a/abs/core/linuxtv-dvb-apps/linuxtv-dvb-apps.install +++ b/abs/core/linuxtv-dvb-apps/linuxtv-dvb-apps.install @@ -6,7 +6,3 @@ post_upgrade() { echo ">>> you can use them to generate your channel.conf file" } -op=$1 -shift - -$op $* |