summaryrefslogtreecommitdiff
path: root/extra/gupnp-igd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-18 00:02:20 +0000
committerroot <root@rshg054.dnsready.net>2012-05-18 00:02:20 +0000
commit2f104ecf78d6a93ba8d67273b76364cb1365a6cf (patch)
treec93787a9c08d8cb41a424644dc09fc529dfd63f1 /extra/gupnp-igd/PKGBUILD
parentf675762300c4ee2717e029975bb3f94312245276 (diff)
Fri May 18 00:02:20 UTC 2012
Diffstat (limited to 'extra/gupnp-igd/PKGBUILD')
-rw-r--r--extra/gupnp-igd/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/gupnp-igd/PKGBUILD b/extra/gupnp-igd/PKGBUILD
new file mode 100644
index 000000000..8e08e3a17
--- /dev/null
+++ b/extra/gupnp-igd/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 159125 2012-05-16 11:29:35Z eric $
+# Maintainer: Eric Bélanger <eric@archlinux.org>
+# Contributor: William Díaz <wdiaz [at] archlinux [dot] us>
+
+pkgname=gupnp-igd
+pkgver=0.2.1
+pkgrel=3
+pkgdesc="A library to handle UPnP IGD port mapping"
+arch=('i686' 'x86_64')
+url="http://www.gupnp.org"
+license=('LGPL')
+depends=('gupnp' 'python2-gobject2')
+makedepends=('gettext')
+options=('!libtool' '!makeflags')
+source=(http://www.gupnp.org/sites/all/files/sources/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('409cb45e495dfa61c4ce4a74f8ba06f2784c39e2')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHON=python2 ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+