updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / gupnp / PKGBUILD
blob9dafbf66edba88315eb133222355f4f876aeb1db
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=gupnp
3 pkgver=0.18.0
4 pkgrel=1
5 pkgdesc="An object-oriented open source framework for creating UPnP devices and control points, written in C using GObject and libsoup"
6 arch=(i686 x86_64)
7 url="http://gupnp.org/"
8 license=(LGPL)
9 depends=('gssdp>=0.11.2')
10 makedepends=(gobject-introspection)
11 optdepends=(python2: for gupnp-binding-tool)
12 options=(!libtool)
13 source=(http://download.gnome.org/sources/$pkgname/0.18/$pkgname-$pkgver.tar.xz)
14 sha256sums=('82f4758b26ef0531cf6301f526fe705f06c329eaef403bb30925128fcbb6a71a')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   sed -i 's@^#!.*python$@#!/usr/bin/python2@' tools/gupnp-binding-tool
20   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
21               --disable-static
22   make
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
28   make DESTDIR="$pkgdir/" install