[arch-commits] Commit in networkmanager/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Mar 19 18:54:56 UTC 2012


    Date: Monday, March 19, 2012 @ 14:54:55
  Author: heftig
Revision: 153804

0.9.3.997

Modified:
  networkmanager/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-19 18:53:56 UTC (rev 153803)
+++ PKGBUILD	2012-03-19 18:54:55 UTC (rev 153804)
@@ -6,15 +6,16 @@
 # Contributor: Valentine Sinitsyn <e_val at inbox.ru>
 
 pkgname=networkmanager
-pkgver=0.9.3.995
-pkgrel=2
+_pkgname=NetworkManager
+pkgver=0.9.3.997
+pkgrel=1
 pkgdesc="Network Management daemon"
 arch=('i686' 'x86_64')
 license=('GPL')
-url="http://www.gnome.org/projects/NetworkManager/"
+url="http://www.gnome.org/projects/$_pkgname/"
 depends=('dbus-glib' 'iproute2' 'libnl' 'nss' 'polkit' 'udev' 'wpa_supplicant' 'ppp' 'dhcpcd'
          'libsystemd' 'libsoup')
-makedepends=('intltool' 'dhclient' 'iptables' 'gobject-introspection' 'gtk-doc')
+makedepends=('intltool' 'dhclient' 'iptables' 'gobject-introspection')
 optdepends=('modemmanager: for modem management service'
             'dhclient: alternative DHCP/DHCPv6 client'
             'iptables: Connection sharing'
@@ -24,23 +25,21 @@
 options=('!libtool')
 backup=('etc/NetworkManager/NetworkManager.conf')
 install=networkmanager.install
-#source=(http://ftp.gnome.org/pub/gnome/sources/NetworkManager/0.9/NetworkManager-${pkgver}.tar.xz
-source=(http://cgit.freedesktop.org/NetworkManager/NetworkManager/snapshot/NetworkManager-master.tar.xz
+#source=(http://cgit.freedesktop.org/$_pkgname/$_pkgname/snapshot/$_pkgname-master.tar.xz
+source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver:0:3}/$_pkgname-$pkgver.tar.xz
         NetworkManager.conf disable_set_hostname.patch dnsmasq-path.patch systemd-fallback.patch)
-sha256sums=('2338b6814c57368176636a13a2ed0c676c7760b9b81a3392deac8cf9c57c5700'
+sha256sums=('27bf47926fe43e32bca3b5f64e9eb8f18f4be0ea120493bcbfe2a88cd2602494'
             '44b048804c7c0b8b3b0c29b8632b6ad613c397d0a1635ec918e10c0fbcdadf21'
             '25056837ea92e559f09563ed817e3e0cd9333be861b8914e45f62ceaae2e0460'
             '65124505048cc8396daf0242c9f5d532fa669b4bbca305998c248ab2329490cb'
             '5e9bbd8a84883037d27a71ea9969d0cb03f09ca238fa733381bcf136bbc340a5')
 
 build() {
-  cd NetworkManager-master
+  cd $_pkgname-$pkgver
 
   patch -Np1 -i ../disable_set_hostname.patch
   patch -Np1 -i ../dnsmasq-path.patch
   patch -Np1 -i ../systemd-fallback.patch
-  gtkdocize
-  autopoint --force
   AUTOPOINT='intltoolize --automake --copy' autoreconf -f -i
 
   ./configure \
@@ -65,10 +64,10 @@
 }
 
 package() {
-  cd NetworkManager-master
-  make DESTDIR="${pkgdir}" install
+  cd $_pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 
-  install -m644 ../NetworkManager.conf "${pkgdir}/etc/NetworkManager/"
+  install -m644 ../NetworkManager.conf "$pkgdir/etc/NetworkManager/"
 
-  rm -rf "${pkgdir}/var/run/"
+  rm -r "$pkgdir/var/run"
 }




More information about the arch-commits mailing list