summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTom Nguyen2018-01-15 22:30:17 +0700
committerTom Nguyen2018-01-15 22:30:17 +0700
commita495b58ef9b63f71ced702af0323e5d6dc3100cd (patch)
tree565cef0d4f8544e19352c7f48c3bf9e663f559a4 /PKGBUILD
parentc05bcaa3acf924d450d417c73a1dfb4f85cc7c67 (diff)
downloadaur-networkmanager-ssh-git.tar.gz
updated to match rpm spec; added makeflags; disabled warnings
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 19 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a060ee244d3..b0eeda006a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
-# Maintainer: lyoko
+# Maintainer: Tom Nguyen <tom81094@gmail.com>
+# Contributor: lyoko
pkgname=networkmanager-ssh-git
-pkgver=r231.f80495e
+pkgver=r233.fe3dc5d
pkgrel=1
pkgdesc="SSH VPN support for NetworkManager"
arch=('any')
@@ -25,12 +26,24 @@ pkgver() {
build() {
cd "$pkgname"
- autoreconf -fvi || return 1
- ./configure --prefix=/usr --sysconfdir=/etc || return 1
- make || return 1
+
+ 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
+ make DESTDIR="$pkgdir/" INSTALL="install -p" CP="cp -p" install
}