diff options
author | Dan Ziemba | 2016-03-14 00:24:23 -0400 |
---|---|---|
committer | Dan Ziemba | 2016-03-14 00:24:23 -0400 |
commit | 27e6342d054a7380a929ed17c9b13aeaf0181405 (patch) | |
tree | edcb329b382f501e349c827fc45717a5971bfe6a | |
parent | 4ff169d98ce7f52e6e91fbca2e3c993630802666 (diff) | |
download | aur-27e6342d054a7380a929ed17c9b13aeaf0181405.tar.gz |
Include dvb-scan-tables as source
Instead of allowing build to pull a clean copy every time.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 16 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Mar 14 04:06:07 UTC 2016 +# Mon Mar 14 04:23:54 UTC 2016 pkgbase = tvheadend-git pkgdesc = TV streaming server for Linux pkgver = 4.1.r1672.g3927788 - pkgrel = 1 + pkgrel = 2 url = https://tvheadend.org/ install = tvheadend.install arch = i686 @@ -26,8 +26,10 @@ pkgbase = tvheadend-git conflicts = hts-tvheadend-svn conflicts = tvheadend-git source = tvheadend-git::git+https://github.com/tvheadend/tvheadend.git#branch=master + source = dvb-scan-tables::git+https://github.com/tvheadend/dtv-scan-tables.git#branch=tvheadend source = tvheadend.service md5sums = SKIP + md5sums = SKIP md5sums = b546f4486f0d28bea13ad1fb676acb27 pkgname = tvheadend-git @@ -7,7 +7,7 @@ pkgname=tvheadend-git _gitname='tvheadend-git' pkgver=4.1.r1672.g3927788 -pkgrel=1 +pkgrel=2 pkgdesc="TV streaming server for Linux" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h') url="https://tvheadend.org/" @@ -20,9 +20,11 @@ conflicts=('tvheadend' 'hts-tvheadend' 'hts-tvheadend-svn' 'tvheadend-git') install=tvheadend.install source=("${_gitname}::git+https://github.com/tvheadend/tvheadend.git#branch=master" - 'tvheadend.service') + "dvb-scan-tables::git+https://github.com/tvheadend/dtv-scan-tables.git#branch=tvheadend" + 'tvheadend.service') md5sums=('SKIP' + 'SKIP' 'b546f4486f0d28bea13ad1fb676acb27') pkgver() { @@ -30,6 +32,14 @@ pkgver() { git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd "${srcdir}" + _dvbscan="${_gitname}/data/dvb-scan" + cp -a "dvb-scan-tables" "${_dvbscan}" + rm -rf "${_dvbscan}/.git" + touch "${_dvbscan}/.stamp" +} + build() { cd "${srcdir}/${_gitname}" ./configure --prefix=/usr --mandir=/usr/share/man/man1 --python=python2 --release \ |