diff options
author | Christopher Reimer | 2015-12-14 19:42:01 +0100 |
---|---|---|
committer | Christopher Reimer | 2015-12-14 19:42:01 +0100 |
commit | c0d75afc14159eaeb64b381bdbb8afd48b194ea5 (patch) | |
tree | 556bbfad5833d944b55c92db4b02648cfca67d9e | |
download | aur-c0d75afc14159eaeb64b381bdbb8afd48b194ea5.tar.gz |
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/901f8fa323ebf308b33d970ce7a78cd7f6edc3f3)
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1e9c1173905e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = vdr-noepg + pkgdesc = Replace the noepg-patch with the new cEpgHandler of vdr >= 1.7.26 + pkgver = 0.0.4 + pkgrel = 2 + url = https://github.com/flensrocker/vdr-plugin-noepg + arch = x86_64 + arch = i686 + arch = arm + arch = armv6h + arch = armv7h + license = GPL2 + makedepends = git + depends = curl + depends = vdr-api=2.2.0 + backup = etc/vdr/conf.avail/50-noepg.conf + source = git://github.com/flensrocker/vdr-plugin-noepg.git#commit=b18cfff51a8d7722cc7f8ae511596714995f6c92 + md5sums = SKIP + +pkgname = vdr-noepg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d6ffbb260061 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch] + +# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de> +pkgname=vdr-noepg +pkgver=0.0.4 +_gitver=b18cfff51a8d7722cc7f8ae511596714995f6c92 +_vdrapi=2.2.0 +pkgrel=2 +pkgdesc="Replace the noepg-patch with the new cEpgHandler of vdr >= 1.7.26" +url="https://github.com/flensrocker/vdr-plugin-noepg" +arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h') +license=('GPL2') +depends=('curl' "vdr-api=${_vdrapi}") +makedepends=('git') +_plugname=${pkgname//vdr-/} +source=("git://github.com/flensrocker/vdr-plugin-noepg.git#commit=$_gitver") +backup=("etc/vdr/conf.avail/50-$_plugname.conf") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/vdr-plugin-$_plugname" + git describe --tags | sed 's/-/_/g;s/v//' +} + +build() { + cd "${srcdir}/vdr-plugin-$_plugname" + make +} + +package() { + cd "${srcdir}/vdr-plugin-$_plugname" + make DESTDIR="${pkgdir}" install + + mkdir -p "$pkgdir/etc/vdr/conf.avail/" + echo "[$_plugname]" > "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf" +} |