summaryrefslogtreecommitdiff
path: root/gnome-unstable/gupnp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/gupnp/PKGBUILD')
-rw-r--r--gnome-unstable/gupnp/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnome-unstable/gupnp/PKGBUILD b/gnome-unstable/gupnp/PKGBUILD
new file mode 100644
index 000000000..31020ff1f
--- /dev/null
+++ b/gnome-unstable/gupnp/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 167735 2012-10-03 13:16:53Z jgc $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: György Balló <ballogy@freestart.hu>
+
+pkgname=gupnp
+pkgver=0.18.4
+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')
+optdepends=('python2: gupnp-binding-tool')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('6b437d5711b212292c6080626b97480268310da636a6cf937ad6119291af78a1')
+
+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
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}