summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Reimer2016-02-26 16:15:57 +0100
committerChristopher Reimer2016-02-26 16:15:57 +0100
commit41daf2448a1d05be0b8c7b56006a252f99987c75 (patch)
treed59c01dbc6eac399100a195db7e750ff02ec0a20
downloadaur-41daf2448a1d05be0b8c7b56006a252f99987c75.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/373846dbc89c448c6d3a60e4fe1f9bc38548cbc4)
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD28
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..37a010e9a63
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = vdr-pulsecontrol
+ pkgdesc = For controlling some pulseaudio properties
+ pkgver = 0.1.7
+ pkgrel = 1
+ url = https://github.com/flensrocker/vdr-plugin-pulsecontrol
+ arch = x86_64
+ arch = i686
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ license = GPL2
+ depends = libpulse
+ depends = vdr-api=2.2.0
+ source = https://github.com/flensrocker/vdr-plugin-pulsecontrol/releases/download/0.1.7/vdr-pulsecontrol-0.1.7.tgz
+ md5sums = bb9c3530cdeeb61a423c211ee3a26d30
+
+pkgname = vdr-pulsecontrol
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5098da16398
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
+
+# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
+pkgname=vdr-pulsecontrol
+pkgver=0.1.7
+pkgrel=1
+_vdrapi=2.2.0
+pkgdesc="For controlling some pulseaudio properties"
+url="https://github.com/flensrocker/vdr-plugin-pulsecontrol"
+arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
+license=('GPL2')
+depends=('libpulse' "vdr-api=${_vdrapi}")
+_plugname=${pkgname//vdr-/}
+source=("https://github.com/flensrocker/vdr-plugin-$_plugname/releases/download/$pkgver/$pkgname-$pkgver.tgz")
+md5sums=('bb9c3530cdeeb61a423c211ee3a26d30')
+
+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"
+}