summaryrefslogtreecommitdiff
path: root/extra/gupnp-igd/PKGBUILD
blob: 45297def4caccbac18800a3003684e1637f99928 (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 183422 2013-04-21 22:11:03Z heftig $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor: William Díaz <wdiaz [at] archlinux [dot] us>

pkgname=gupnp-igd
pkgver=0.2.2
pkgrel=1
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://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
}