summaryrefslogtreecommitdiffstats
path: root/abs/core/gupnp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gupnp/PKGBUILD')
-rw-r--r--abs/core/gupnp/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/core/gupnp/PKGBUILD b/abs/core/gupnp/PKGBUILD
new file mode 100644
index 0000000..4f56654
--- /dev/null
+++ b/abs/core/gupnp/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 201545 2013-12-14 15:50:45Z heftig $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: György Balló <ballogy@freestart.hu>
+
+pkgname=gupnp
+pkgver=0.20.9
+pkgrel=1
+pkgdesc="An object-oriented UPNP framework"
+arch=(i686 x86_64)
+url="http://gupnp.org/"
+license=(LGPL)
+depends=(gssdp util-linux)
+makedepends=(gobject-introspection gtk-doc vala)
+optdepends=('python2: gupnp-binding-tool')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('61650a3be46979973b82c79eab5c3baf16a4ad3a051d8a710e5d1c376cf32c6e')
+
+build() {
+ cd $pkgname-$pkgver
+ sed -i '1s|^#!.*python$|&2|' tools/gupnp-binding-tool
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --with-context-manager=linux
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}