From 31b4072a852b6f34c3d2f4d360d8e806cf56542c Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 4 Nov 2015 21:36:45 +0000
Subject: dtv-scan-tables-git: initial inclusion. DVB scan tables, formerly
 part of the linuxtv-dvb-apps package

---
 abs/extra/dtv-scan-tables-git/PKGBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 abs/extra/dtv-scan-tables-git/PKGBUILD

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
+}
-- 
cgit v0.12

