[arch-commits] Commit in network-manager-sstp/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri May 31 17:34:17 UTC 2019


    Date: Friday, May 31, 2019 @ 17:34:16
  Author: felixonmars
Revision: 476073

upgpkg: network-manager-sstp 1.2.6-2

fix dbus policy dir

Modified:
  network-manager-sstp/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-31 17:33:23 UTC (rev 476072)
+++ PKGBUILD	2019-05-31 17:34:16 UTC (rev 476073)
@@ -4,9 +4,9 @@
 
 pkgname=network-manager-sstp
 pkgver=1.2.6
-pkgrel=1
+pkgrel=2
 pkgdesc="SSTP support for NetworkManager"
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url="http://sstp-client.sourceforge.net/#Network_Manager_Plugin"
 license=('GPL2')
 depends=('gtk3' 'libnma' 'libsecret' 'sstp-client')
@@ -17,12 +17,12 @@
 
 build() {
   pppd_version=(`pppd --version 2>&1 | awk '{print $3}'`)
-  cd "${srcdir}/network-manager-sstp-release-${pkgver}"
+  cd network-manager-sstp-release-$pkgver
 
   ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
-    --with-pppd-plugin-dir=/usr/lib/pppd/${pppd_version} \
+    --with-pppd-plugin-dir=/usr/lib/pppd/$pppd_version \
     --libdir=/usr/lib \
     --libexecdir=/usr/lib/NetworkManager \
     --with-libnm-glib=no
@@ -32,7 +32,7 @@
 }
 
 package() {
-  cd "${srcdir}/network-manager-sstp-release-${pkgver}"
+  cd network-manager-sstp-release-$pkgver
 
-  make DESTDIR="${pkgdir}/" install
+  make DESTDIR="$pkgdir" dbusservicedir=/usr/share/dbus-1/system.d install
 }



More information about the arch-commits mailing list