blob: 6040fee812de4ff121babcd9d51969eff30845b8 (
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
|
# $Id: PKGBUILD 157079 2012-04-23 13:11:06Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=gupnp
pkgver=0.18.2
pkgrel=1
pkgdesc="An object-oriented UPNP framework"
arch=('i686' 'x86_64' 'mips64el')
url="http://gupnp.org/"
license=('LGPL')
depends=('gssdp')
makedepends=('gobject-introspection' 'gtk-doc')
optdepends=('python2: gupnp-binding-tool')
options=('!libtool')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('3715fa56c1f351132cffe7d69127da1daada7ff50481838c6dbfd17d7182743d')
build() {
cd $pkgname-$pkgver
sed -i '1s|^#!.*python$|&2|' tools/gupnp-binding-tool
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --with-context-manager=linux
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|