# $Id: PKGBUILD,v 1.2 2007/06/27 02:00:07 tardo Exp $ # Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com> # Contributor: Camille Moncelier <pix@devlife.org> pkgname=linuxtv-dvb-apps pkgver=1.1.1 pkgrel=1 pkgdesc="Viewer programs for DVB cards" arch=('i686' 'x86_64') 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') 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 }