updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / quicktun / PKGBUILD
blobd5e08df67aecc18e5acef448d1bbf9a6029ce082
1 pkgname=quicktun
2 arch=(i686 x86_64)
3 pkgver=2.1.7
4 pkgrel=1
5 pkgdesc="QuickTun is a simple and secure VPN software"
6 makedepends=('nacl')
7 url="http://wiki.ucis.nl/QuickTun"
8 license=('Custom')
9 source=(http://oss.ucis.nl/quicktun/src/${pkgname}-${pkgver}.tgz)
10 md5sums=('6cf38b17218deb8c908cc17d91f9cbd7')
12 build() {
13   cd "$srcdir/${pkgname}-${pkgver}"
15   NACL_SHARED=1 CFLAGS=-Wno-pointer-to-int-cast ./build.sh
17   install -D out/quicktun.combined "${pkgdir}/usr/sbin/quicktun.combined"
18   install -D out/quicktun.keypair "${pkgdir}/usr/sbin/quicktun.keypair"
19   ln -s quicktun.combined "${pkgdir}/usr/sbin/quicktun"