diff options
-rw-r--r-- | abs/extra/dtv-scan-tables-git/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/extra/dtv-scan-tables-git/PKGBUILD b/abs/extra/dtv-scan-tables-git/PKGBUILD new file mode 100644 index 0000000..4f5a67e --- /dev/null +++ b/abs/extra/dtv-scan-tables-git/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Olaf Bauer <hydro@freenet.de> + +pkgname=dtv-scan-tables-git +pkgver=r1185.82dfbc1 +pkgrel=1 +pkgdesc="Digital TV scan tables" +arch=('any') +url="http://linuxtv.org/" +license=('GPL2' 'LGPL2') +makedepends=('git' 'v4l-utils') +conflicts=('dtv-scan-tables') +provides=('dtv-scan-tables') +source=('git://linuxtv.org/dtv-scan-tables.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/dtv-scan-tables" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/dtv-scan-tables" + make dvbv3 +} + +package() { + cd "$srcdir/dtv-scan-tables" + make PREFIX="$pkgdir/usr" DVBV5DIR=dvb install + make PREFIX="$pkgdir/usr" install_v3 +} |