# $Id: PKGBUILD 197430 2013-10-25 20:13:38Z eric $ # Maintainer: Eric BĂ©langer pkgname=gupnp-igd pkgver=0.2.2 pkgrel=2 pkgdesc="A library to handle UPnP IGD port mapping" arch=('i686' 'x86_64' 'mips64el') url="http://www.gupnp.org" license=('LGPL') depends=('gupnp' 'python2-gobject2') makedepends=('gobject-introspection') options=('!makeflags') source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver::3}/${pkgname}-${pkgver}.tar.xz) sha1sums=('bd24e98b224b3a233b0ab6714638ed4c6bf64b47') build() { cd ${pkgname}-${pkgver} PYTHON=python2 ./configure --prefix=/usr make } check() { cd ${pkgname}-${pkgver} make check } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }