summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2012-01-08 12:46:49 +0100
committerlado <herrlado@gmail.com>2012-01-08 12:46:49 +0100
commit25b10820b6101b7d79362d332ed875f4f814a4f9 (patch)
treea2e17f7e49b58d1cc0c45b067a24bccea5715fa2
parent5880a1c6ef0bf6072900bb592abbb97273e36394 (diff)
downloadvdr-manager-25b10820b6101b7d79362d332ed875f4f814a4f9.tar.gz
vdr-manager-25b10820b6101b7d79362d332ed875f4f814a4f9.tar.bz2
archlinux package source. Thanks to Moritz
-rw-r--r--archlinux/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD
new file mode 100644
index 0000000..f12865b
--- /dev/null
+++ b/archlinux/PKGBUILD
@@ -0,0 +1,36 @@
+_pkgname=vdrmanager
+pkgname=vdr-plugin-$_pkgname
+pkgver=0.6
+pkgrel=1
+revision=
+arch=(i686 x86_64)
+pkgdesc="VDR-Plugin that is required by the VDRManager Android-App"
+url="http://projects.vdr-developer.org/projects/vdr-manager"
+license="GPL"
+makedepends=('vdr')
+depends=('vdr')
+backup=()
+source=(http://projects.vdr-developer.org/attachments/download/828/vdr-${_pkgname}-${pkgver}.tar.gz)
+
+md5sums=('c179ba237e0eaafc27deadab1a5651d0')
+
+build() {
+ unset CXXFLAGS
+
+ cd ${srcdir}/vdr-$_pkgname-${pkgver}
+
+ mkdir -p $pkgdir/usr/lib/vdr/plugins/ || return 1
+
+ make VDRDIR=/usr/include/vdr \
+ LIBDIR=. \
+ LOCALEDIR="$startdir/pkg/usr/share/locale/" all || return 1
+
+ mkdir -p $pkgdir/usr/lib/vdr/plugins || return 1
+ install -m 755 libvdr-*.so.* $pkgdir/usr/lib/vdr/plugins/ || return 1
+
+ mkdir -p $pkgdir/etc/vdr/plugins/ || return 1
+ install -m 644 examples/plugin.vdrmanager.conf $pkgdir/etc/vdr/plugins/ || return 1
+
+}
+
+