diff options
author | Christopher Reimer | 2015-06-08 11:09:54 +0200 |
---|---|---|
committer | Christopher Reimer | 2015-06-08 11:09:54 +0200 |
commit | b4bb4dbde1657a9c3bfd6ea4c241711ae8b9fd75 (patch) | |
tree | 5e91e5ce4f294e06ee1f97b45a2a9fa2bede7b65 | |
download | aur-b4bb4dbde1657a9c3bfd6ea4c241711ae8b9fd75.tar.gz |
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/3bf8a4492e3b973a559fd2c53855b231e25c7e74)
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2f348ffac12f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = vdr-peer + pkgdesc = Wrapper for the plugins remotetimers and remoteosd + pkgver = 0.0.1 + pkgrel = 14 + url = http://vdr.schmirler.de/ + arch = x86_64 + arch = i686 + arch = arm + arch = armv6h + arch = armv7h + license = GPL2 + depends = gcc-libs + depends = vdr-api=2.2.0 + optdepends = remoteosd: Add/edit/remove timers on local and peer VDR or move timers between them + optdepends = remotetimers: Access menu of peer + backup = etc/vdr/conf.avail/50-peer.conf + source = http://vdr.schmirler.de/peer/vdr-peer-0.0.1.tgz + md5sums = 6a50045f82d3a5784cb26d7e6cf4fb39 + +pkgname = vdr-peer + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4145ca06f3e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch] + +# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de> +pkgname=vdr-peer +pkgver=0.0.1 +_vdrapi=2.2.0 +pkgrel=14 +pkgdesc="Wrapper for the plugins remotetimers and remoteosd" +url="http://vdr.schmirler.de/" +arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h') +license=('GPL2') +depends=('gcc-libs' "vdr-api=${_vdrapi}") +optdepends=('remoteosd: Add/edit/remove timers on local and peer VDR or move timers between them' + 'remotetimers: Access menu of peer') +_plugname=$(echo $pkgname | sed 's/vdr-//g') +source=("http://vdr.schmirler.de/$_plugname/$pkgname-$pkgver.tgz") +backup=("etc/vdr/conf.avail/50-$_plugname.conf") +md5sums=('6a50045f82d3a5784cb26d7e6cf4fb39') + +build() { + cd "${srcdir}/${_plugname}-${pkgver}" + make +} + +package() { + cd "${srcdir}/${_plugname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + mkdir -p "$pkgdir/etc/vdr/conf.avail" + echo "[$_plugname]" > "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf" +} |