summaryrefslogtreecommitdiff
path: root/pcr/networkmanager-strongswan/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/networkmanager-strongswan/PKGBUILD')
-rw-r--r--pcr/networkmanager-strongswan/PKGBUILD38
1 files changed, 22 insertions, 16 deletions
diff --git a/pcr/networkmanager-strongswan/PKGBUILD b/pcr/networkmanager-strongswan/PKGBUILD
index aa297c54b..6d1b55734 100644
--- a/pcr/networkmanager-strongswan/PKGBUILD
+++ b/pcr/networkmanager-strongswan/PKGBUILD
@@ -1,33 +1,39 @@
-# Contributor (Arch): Michael Seiwald <michael@mseiwald.at>
-# Maintainer (Arch): Dmitry Korzhevin <dkorzhevin at gmail dot com>
+# Maintainer (Arch): Jan Hicken <firstname [dot] lastname [at] hotmail [dot] de>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
pkgname=networkmanager-strongswan
_pkgname=NetworkManager-strongswan
-pkgver=1.3.0
-pkgrel=2.1
-pkgdesc="strongswan NetworkManager plugin"
-arch=('i686' 'x86_64' 'mips64el')
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="Strongswan NetworkManager plugin"
+arch=('i686' 'x86_64')
url="http://wiki.strongswan.org/projects/strongswan/wiki/NetworkManager"
license=('GPL')
depends=(networkmanager strongswan libgnomeui)
makedepends=(intltool)
-source=(http://download.strongswan.org/NetworkManager/$_pkgname-$pkgver.tar.gz)
-md5sums=('215f1d3b7b65be236b86bf30b6a4615b')
+source=("http://download.strongswan.org/NetworkManager/$_pkgname-$pkgver.tar.gz"
+ 'fix-vbox-parent.patch')
+sha256sums=('8f67bf0e7281ee8dfb1c7fe28ef8d06774744e2135682f4ddae4342fd103d46a'
+ 'c9f7f6819753ff2834015ba18ffed39c4b5ae5e0e71c377ee49c105f0d9b1f99')
+
+prepare() {
+ cd "$_pkgname-$pkgver"
+ patch -p1 -i ../fix-vbox-parent.patch
+}
build() {
- cd "$srcdir/$_pkgname-$pkgver"
- ./configure --sysconfdir=/etc \
- --prefix=/usr \
- --libexecdir=/usr/lib \
- --with-charon=/usr/lib/strongswan/charon \
- CFLAGS="$CFLAGS -Wno-error=unused-local-typedefs -Wno-error=deprecated-declarations"
+ cd "$_pkgname-$pkgver"
+
+ export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations"
+ ./configure --sysconfdir=/etc --prefix=/usr \
+ --libexecdir=/usr/lib/networkmanager \
+ --with-charon=/usr/lib/strongswan/charon-nm
make
}
package() {
- cd "$srcdir/$_pkgname-$pkgver"
+ cd "$_pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- #make install
}
# vim:set ts=2 sw=2 et: