1 # Maintainer: Christian Hammacher <bmasterc gmail com>
2 # Contributor: Christian Hammacher <bmasterc gmail com>
4 pkgname=shrew-vpn-client
7 pkgdesc="A portable VPN client for Linux with Qt GUI"
9 url="http://www.shrew.net/"
11 depends=('qt3' 'openssl')
12 makedepends=('gcc' 'flex' 'libedit' 'bison' 'cmake')
13 optdepends=('openldap')
14 conflicts=('shrew-vpn-client-alpha')
15 backup=('etc/iked.conf')
16 source=(http://www.shrew.net/download/ike/ike-$pkgver-release.tbz2)
17 md5sums=('bc86e101809fc750013e18480c8c1040')
22 # Build the whole package
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -DQTGUI=YES -DETCDIR=/etc -DNATT=YES -DPATH_MAN=/usr/share
25 make DESTDIR="$pkgdir/" install
27 # Install the daemon script
28 install -D -m755 $startdir/iked $pkgdir/etc/rc.d/iked
30 # The configuration file is already ready for use; just rename it
31 mv $pkgdir/etc/iked.conf.sample $pkgdir/etc/iked.conf
33 # Copy our desktop files
34 install -D -m644 $srcdir/ike/source/ikea/png/ikea.png $pkgdir/usr/share/icons/ikea.png
35 install -D -m755 $startdir/ikea.desktop $pkgdir/usr/share/applications/ikea.desktop