1 # Original contributor: Alexander Fehr <pizzapunk gmail com>
3 # Latest maintainer: Neil Santos <nsantos+aur@gmail.com>
8 pkgdesc='Stream-oriented interface to the GTK+ libraries'
10 url="http://www.gtk-server.org/"
12 depends=('gtk2>=2.14' 'libffi')
13 makedepends=('pkgconfig' 'glade')
14 backup=('etc/gtk-server.cfg')
15 source=("http://downloads.sourceforge.net/gtk-server/gtk-server-$pkgver-sr.tar.gz"
16 'http://www.gtk-server.org/gtk-server.cfg')
17 md5sums=('fd5cc04fb6cce5312b119f5b0c6b4ae6'
18 '4a72419de37a1cd4ac42055cd2dce801')
21 cd "$srcdir/gtk-server-$pkgver-sr"
22 cp "$srcdir/gtk-server.cfg" "$srcdir/gtk-server-$pkgver-sr/"
24 export CPPFLAGS=`pkg-config --cflags libffi`
25 export LDFLAGS=`pkg-config --libs libglade-2.0`
27 ./configure --prefix=/usr --sysconfdir=/etc --with-gtk2 || return 1
29 make prefix=$startdir/pkg/usr SYSCONFIG=$startdir/pkg/etc install || return 1
31 ./configure --prefix=/usr --sysconfdir=/etc --enable-library --with-gtk2 || return 1
33 install -D -m755 libgtk-server.so "$pkgdir/usr/lib/libgtk-server.so" || return 1
34 install -m644 libgtk-server.a "$pkgdir/usr/lib" || return 1