1 # Contributor: Francois Boulogne < fboulogne at april dot org >
2 # Maintainer: Francois Boulogne < fboulogne at april dot org >
6 pkgdesc="Reconnect automatically (at startup too) a vpn create with network manager."
8 url="http://sourceforge.net/projects/vpnautoconnect/"
11 install=vpnautoconnect.install
12 source=(http://sourceforge.net/projects/vpnautoconnect/files/${pkgname}-${pkgver}.tar.gz
14 md5sums=('53ad197ddc51fea33f0770813156d51b' '4fe9f28d13782f4d129a521a1b97c93d')
17 cd ${srcdir}/${pkgname}-${pkgver}/
18 ./configure --prefix=$pkgdir
19 #The build scripts are made for debian-like systems
21 sed -i 's/install-exec-local$/#install-exec-local/' Makefile.in
22 sed -i 's/\sinstall-exec-local\s//' Makefile.in
28 cd ${srcdir}/${pkgname}-${pkgver}/
30 install -d ${pkgdir}/etc/rc.d
31 ##The daemon provided upstream is for debian-like systems
32 ##A new write, suitable for arch, has been written
34 install -m 0755 vpnautoconnect ${pkgdir}/etc/rc.d