blob: 098d26f5e7143f24f1a3e20400bc156e7498253f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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.2.1
pkgrel=11
_vdrapi=2.6.7
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/vdr-plugin-${_plugname}_$pkgver.orig.tar.gz")
md5sums=('d33cb62d07f64255df9f9f00f94be7b3')
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"
}
|