blob: f8985aff689dad4e70a1c9e2d19dfb972d5ea16b (
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
41
42
43
44
45
46
|
# Maintainer: Patrick Hanft <mail@patrick-hanft.de>
pkgname=openfortivpn
pkgver=1.3.0
pkgrel=1
pkgdesc="An open implementation of Fortinet's proprietary PPP+SSL VPN solution"
arch=('i686' 'x86_64')
url="https://github.com/adrienverge/openfortivpn"
license=('GPL3')
groups=()
depends=('openssl' 'ppp')
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=()
conflicts=()
replaces=()
backup=('etc/openfortivpn/config')
options=()
install=
source=("git+https://github.com/adrienverge/$pkgname.git#tag=v$pkgver" "allow-no-unused-functions.patch")
noextract=()
md5sums=('SKIP'
'4ce932a43c5b6e7241fb3e7ccc7a199f')
prepare() {
cd "$srcdir/$pkgname"
patch -Np0 -i "${srcdir}/allow-no-unused-functions.patch"
}
build() {
cd "$srcdir/$pkgname"
aclocal
autoconf
automake --add-missing
./configure --prefix=/usr --sysconfdir=/etc
make
}
check() {
cd "$srcdir/$pkgname"
make -k check
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
}
|