summaryrefslogtreecommitdiff
path: root/pcr/networkmanager-strongswan/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-04-08 20:48:54 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-04-08 20:48:54 -0500
commit9557f2368354d408d006547e4694a5dee5dfa7c8 (patch)
treeb026738e7c5ee6bc42d9ee7ad64267d31bd6b5ec /pcr/networkmanager-strongswan/PKGBUILD
parent517f2ac789fa4a3ba641334072c45a413437d01e (diff)
downloadabslibre-9557f2368354d408d006547e4694a5dee5dfa7c8.tar.gz
abslibre-9557f2368354d408d006547e4694a5dee5dfa7c8.tar.bz2
abslibre-9557f2368354d408d006547e4694a5dee5dfa7c8.zip
networkmanager-strongswan-1.4.1-1: updating version
Diffstat (limited to 'pcr/networkmanager-strongswan/PKGBUILD')
-rw-r--r--pcr/networkmanager-strongswan/PKGBUILD35
1 files changed, 18 insertions, 17 deletions
diff --git a/pcr/networkmanager-strongswan/PKGBUILD b/pcr/networkmanager-strongswan/PKGBUILD
index 6d1b55734..6be860ca6 100644
--- a/pcr/networkmanager-strongswan/PKGBUILD
+++ b/pcr/networkmanager-strongswan/PKGBUILD
@@ -1,38 +1,39 @@
-# Maintainer (Arch): Jan Hicken <firstname [dot] lastname [at] hotmail [dot] de>
+# shellcheck disable=SC2034,SC2154
+# Maintainer (Arch): Jan Hicken <firstname [dot] lastname [at] posteo [dot] de>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=networkmanager-strongswan
_pkgname=NetworkManager-strongswan
-pkgver=1.3.1
-pkgrel=2
+pkgver=1.4.1
+pkgrel=1
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"
- 'fix-vbox-parent.patch')
-sha256sums=('8f67bf0e7281ee8dfb1c7fe28ef8d06774744e2135682f4ddae4342fd103d46a'
- 'c9f7f6819753ff2834015ba18ffed39c4b5ae5e0e71c377ee49c105f0d9b1f99')
-
-prepare() {
- cd "$_pkgname-$pkgver"
- patch -p1 -i ../fix-vbox-parent.patch
-}
+depends=('networkmanager' 'strongswan>=5.5.1' 'libnm-gtk' 'libsecret')
+makedepends=('intltool')
+conflicts=('networkmanager-strongswan-passwordstore')
+source=("https://download.strongswan.org/NetworkManager/$_pkgname-$pkgver.tar.bz2"{,.sig})
+sha256sums=('4877c6bb21867fd6e60081b313cc4ef758910448099ce41b132d804e3243b264'
+ 'SKIP')
+validpgpkeys=('12538F8F689B5F1F15F07BE1765FE26C6B467584') # Tobias Brunner
build() {
- cd "$_pkgname-$pkgver"
+ cd "$_pkgname-$pkgver" || exit
- export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations"
./configure --sysconfdir=/etc --prefix=/usr \
--libexecdir=/usr/lib/networkmanager \
--with-charon=/usr/lib/strongswan/charon-nm
make
}
+check() {
+ cd "$_pkgname-$pkgver" || exit
+ make check
+}
+
package() {
- cd "$_pkgname-$pkgver"
+ cd "$_pkgname-$pkgver" || exit
make DESTDIR="$pkgdir" install
}