summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Reimer2015-06-08 11:08:01 +0200
committerChristopher Reimer2015-06-08 11:08:01 +0200
commitc0190b44952bc6da503a38de30141b8cb48fcad0 (patch)
treed449dee55c93e9ffbf91325e665cf69e6878c042
downloadaur-c0190b44952bc6da503a38de30141b8cb48fcad0.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/3bf8a4492e3b973a559fd2c53855b231e25c7e74)
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD32
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bbbe62e36e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = vdr-vdrboblight
+ pkgdesc = Boblight with data from softhddevice
+ pkgver = 0.0.6
+ pkgrel = 6
+ url = http://projects.vdr-developer.org/projects/plg-boblight
+ arch = x86_64
+ arch = i686
+ arch = arm
+ arch = armv6h
+ arch = armv7h
+ license = GPL2
+ makedepends = git
+ depends = boblight
+ depends = gcc-libs
+ depends = vdr-api=2.2.0
+ conflicts = vdr-boblight
+ replaces = vdr-boblight
+ backup = etc/vdr/conf.avail/50-vdrboblight.conf
+ source = vdr-plugin-boblight-0.0.6.tar.gz::http://www.vdr-portal.de/index.php?page=Attachment&attachmentID=37154
+ md5sums = 688acb760958646a8a1abe8607eaf2e0
+
+pkgname = vdr-vdrboblight
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7085c823522
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# This PKGBUILD is part of the VDR4Arch project [https://github.com/vdr4arch]
+
+# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
+pkgname=vdr-vdrboblight
+pkgver=0.0.6
+_vdrapi=2.2.0
+pkgrel=6
+pkgdesc="Boblight with data from softhddevice"
+url="http://projects.vdr-developer.org/projects/plg-boblight"
+arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
+license=('GPL2')
+depends=('boblight' 'gcc-libs' "vdr-api=${_vdrapi}")
+makedepends=('git')
+replaces=('vdr-boblight')
+conflicts=('vdr-boblight')
+_plugname=$(echo $pkgname | sed 's/vdr-//g')
+source=("vdr-plugin-boblight-0.0.6.tar.gz::http://www.vdr-portal.de/index.php?page=Attachment&attachmentID=37154")
+backup=("etc/vdr/conf.avail/50-$_plugname.conf")
+md5sums=('688acb760958646a8a1abe8607eaf2e0')
+
+build() {
+ cd "${srcdir}/vdr-plugin-boblight-$pkgver"
+ make
+}
+
+package() {
+ cd "${srcdir}/vdr-plugin-boblight-$pkgver"
+ make DESTDIR="${pkgdir}" install
+
+ mkdir -p "$pkgdir/etc/vdr/conf.avail"
+ echo "[$_plugname]" > "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
+}