summaryrefslogtreecommitdiff
path: root/testing/gupnp/PKGBUILD
blob: 3a86e8bb7b59a76320abab7edcb901d59a92dfdd (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 138977 2011-09-28 19:31:58Z ibiru $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: György Balló <ballogy@freestart.hu>

pkgname=gupnp
pkgver=0.16.1
pkgrel=1
pkgdesc="An object-oriented UPNP framework"
arch=('i686' 'x86_64')
url="http://gupnp.org/"
license=('LGPL')
depends=('gssdp')
makedepends=('gobject-introspection' 'gtk-doc')
optdepends=('python2: gupnp-binding-tool')
options=('!libtool')
source=(http://gupnp.org/sites/all/files/sources/$pkgname-$pkgver.tar.gz)
sha256sums=('f01a1f4fd36ce161a3df29fa83e1a0a2fb40d3c9f30f6b403e7791688ad24cfe')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  sed -i '1s|^#!.*python$|&2|' tools/gupnp-binding-tool

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
              --disable-static
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}