summaryrefslogtreecommitdiff
path: root/extra/gupnp-igd/PKGBUILD
blob: 9658f1f09e6f2ab002782ac70be6b62bda0df73b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 197430 2013-10-25 20:13:38Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=gupnp-igd
pkgver=0.2.2
pkgrel=2
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=('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
}