summaryrefslogtreecommitdiff
path: root/pcr/strongswan/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/strongswan/PKGBUILD')
-rw-r--r--pcr/strongswan/PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/pcr/strongswan/PKGBUILD b/pcr/strongswan/PKGBUILD
index 975e7a21f..c6ace77c4 100644
--- a/pcr/strongswan/PKGBUILD
+++ b/pcr/strongswan/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=strongswan
pkgver=5.0.4
-pkgrel=5
+pkgrel=6
pkgdesc="open source IPsec implementation"
url='http://www.strongswan.org'
license=("GPL")
@@ -25,6 +25,7 @@ build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
+ --sbindir=/usr/bin \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--with-ipsecdir=/usr/lib/strongswan \
@@ -45,7 +46,4 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
- install -d ${pkgdir}/etc/rc.d
- ln -s /usr/sbin/ipsec ${pkgdir}/etc/rc.d/ipsec
- install -Dm755 ${srcdir}/strongswan.rc ${pkgdir}/etc/rc.d/strongswan
}