1 # Maintainer: Jose Riha <jose1711 at gmail dot com>
3 pkgname=gadmin-openvpn-server
6 pkgdesc='A GTK+ graphical user interface for OpenVPN (server)'
9 depends=('gtk2' 'openvpn' 'bridge-utils' 'gksu')
10 makedepends=('pkgconfig')
12 url='http://mange.dynalias.org/linux.html'
13 source=(http://mange.dynalias.org/linux/gadmin-openvpn/server/$pkgname-$pkgver.tar.gz gadmin-openvpn-server.desktop)
14 md5sums=('4fcc8a08b0924fc4ff3a2c59cd6ace5d'
15 'ff53aac86b1dc11486ba119f91366a01')
18 cd $srcdir/$pkgname-$pkgver
19 # some "patching" needed
20 find . -type f -exec sed -i 's%/etc/init.d%/etc/rc.d%g;s%/usr/lib/openvpn/plugin/lib/openvpn-auth-pam.so%/usr/lib/openvpn/openvpn-auth-pam.so%g' '{}' \;
21 ./configure --prefix=/usr
26 cd $srcdir/$pkgname-$pkgver
27 make DESTDIR=$pkgdir install
28 install -m644 -D $srcdir/gadmin-openvpn-server.desktop $pkgdir/usr/share/applications/gadmin-openvpn-server.desktop