blob: 41dc9258e7790ae1362f2049e3f3a9b2253ccab5 (
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
34
|
# $Id: PKGBUILD 198091 2013-10-30 12:44:53Z allan $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=gupnp
pkgver=0.20.7
pkgrel=1
pkgdesc="An object-oriented UPNP framework"
arch=(i686 x86_64)
url="http://gupnp.org/"
license=(LGPL)
depends=(gssdp util-linux)
makedepends=(gobject-introspection gtk-doc vala)
optdepends=('python2: gupnp-binding-tool')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('ccfa6b04935d81bbcd4aa1f15b6dada977fb32386cf3b99c59a4166067ce3102')
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
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|