blob: 6be860ca6d3f3cddfa6f18dde05cb0d38bdaebec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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.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>=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" || exit
./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" || exit
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|