summaryrefslogtreecommitdiff
path: root/extra/gupnp-igd/PKGBUILD
blob: 3d936b173cbe698df56f974fcc5ab8794208d731 (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
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' 'mips64el')
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
}