summaryrefslogtreecommitdiff
path: root/pcr/networkmanager-consolekit
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2016-09-01 20:41:34 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2016-09-01 20:41:34 -0500
commit36403d0e894ab3c3f2ccb80c4a447bdb24faf660 (patch)
treed03e50363d55a70f37e833ac3bfc5ebbea54cd6e /pcr/networkmanager-consolekit
parent245b6a12e8578ba14084edc9803c99ead68819eb (diff)
downloadabslibre-36403d0e894ab3c3f2ccb80c4a447bdb24faf660.tar.gz
abslibre-36403d0e894ab3c3f2ccb80c4a447bdb24faf660.tar.bz2
abslibre-36403d0e894ab3c3f2ccb80c4a447bdb24faf660.zip
networkmanager-consolekit-1.4.1dev+9+ga3fd485-1: updating version
Diffstat (limited to 'pcr/networkmanager-consolekit')
-rw-r--r--pcr/networkmanager-consolekit/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/pcr/networkmanager-consolekit/PKGBUILD b/pcr/networkmanager-consolekit/PKGBUILD
index 980ba6d12..f7fadeb4c 100644
--- a/pcr/networkmanager-consolekit/PKGBUILD
+++ b/pcr/networkmanager-consolekit/PKGBUILD
@@ -10,7 +10,7 @@
_pppver=2.4.7
pkgname=networkmanager-consolekit
-pkgver=1.4.0
+pkgver=1.4.1dev+9+ga3fd485
pkgrel=1
pkgdesc="Network Management daemon"
arch=('i686' 'x86_64' 'armv7h')
@@ -21,7 +21,7 @@ conflicts=('networkmanager')
makedepends=('intltool' 'dhclient' 'iptables' 'gobject-introspection' 'gtk-doc'
"ppp=$_pppver" 'modemmanager' 'dbus-glib' 'iproute2' 'nss'
'polkit-consolekit' 'wpa_supplicant' 'libsoup' 'eudev-systemd' 'libgudev' 'libmm-glib'
- 'rp-pppoe' 'libnewt' 'libndp' 'libteam' 'vala' 'perl-yaml' 'python-gobject')
+ 'rp-pppoe' 'libnewt' 'libndp' 'libteam' 'vala' 'perl-yaml' 'python-gobject' 'git')
checkdepends=('libx11' 'python-dbus' 'eudev-systemd')
depends=('libnm-glib' 'iproute2' 'polkit-consolekit' 'wpa_supplicant' 'libsoup' 'libmm-glib' 'libnewt' 'libndp' 'libteam' 'consolekit' 'eudev')
optdepends=('dnsmasq: connection sharing'
@@ -32,17 +32,25 @@ optdepends=('dnsmasq: connection sharing'
'dhclient: External DHCP client'
'modemmanager: cellular network support')
backup=('etc/NetworkManager/NetworkManager.conf')
-source=("https://download.gnome.org/sources/NetworkManager/${pkgver:0:3}/NetworkManager-$pkgver.tar.xz"
+
+_commit=a3fd48545cf186a7e33aa9df8c3dd2bc016b350d
+# "https://download.gnome.org/sources/NetworkManager/${pkgver:0:3}/NetworkManager-$pkgver.tar.xz"
+source=("git://anongit.freedesktop.org/NetworkManager/NetworkManager#commit=$_commit"
'NetworkManager.conf'
'01-org.freedesktop.NetworkManager.settings.modify.system.rules'
'50-org.freedesktop.NetworkManager.rules')
-sha256sums=('c4d5e075998a291074501602a5068a7e54d9e0f2658aba079d58145d65be531d'
+sha256sums=('SKIP'
'452e4f77c1de92b1e08f6f58674a6c52a2b2d65b7deb0ba436e9afa91ee15103'
'4b815f43de58379e68653d890f529485aec4d2f83f11d050b08b31489d2267c2'
'02d9f7d836d297d6ddf39482d86a8573b3e41735b408aa2cd6df22048ec5f6c4')
+pkgver() {
+ cd NetworkManager
+ git describe | sed 's/-dev/dev/;s/-/+/g'
+}
+
prepare() {
- cd NetworkManager-$pkgver
+ cd NetworkManager #-$pkgver
2to3 -w libnm src tools
@@ -50,7 +58,7 @@ prepare() {
}
build() {
- cd NetworkManager-$pkgver
+ cd NetworkManager #-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -83,12 +91,12 @@ build() {
}
check() {
- cd NetworkManager-$pkgver
+ cd NetworkManager #-$pkgver
make -k check
}
package() {
- cd NetworkManager-$pkgver
+ cd NetworkManager #-$pkgver
make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" -C libnm uninstall
make DESTDIR="$pkgdir" -C libnm-glib uninstall