blob: b3428ff0c00756b4ca7784a5b8429f6420f990ea (
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
|
# Maintainer: Bernhard Nornes Lotsberg <bernhard.lotsberg@bouvet.no>
# Contributor: lyoko, Tom Nguyen
pkgname=networkmanager-ssh
pkgver=1.2.12
pkgrel=2
pkgdesc="SSH VPN support for NetworkManager"
arch=('any')
url="https://github.com/danfruehauf/NetworkManager-ssh"
license=('GPL2')
depends=('networkmanager'
'libnm'
'nm-connection-editor')
optdepends=()
options=()
makedepends=('git' 'make' 'gcc' 'autoconf' 'intltool')
provides=('networkmanager-ssh')
source=($pkgname::"git+https://github.com/danfruehauf/NetworkManager-ssh.git#tag=${pkgver}")
md5sums=('SKIP')
build() {
cd "$pkgname"
if [ ! -f configure ]; then
autoreconf -fvi
fi
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \
--libexecdir=/usr/lib/NetworkManager \
--disable-static \
--disable-dependency-tracking \
--enable-more-warnings=no
make ${MAKEFLAGS}
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir/" INSTALL="install -p" CP="cp -p" install
}
|