[arch-commits] Commit in network-manager-applet/repos (4 files)

Jan Steffens heftig at archlinux.org
Sun Apr 1 07:36:25 EDT 2012


    Date: Sunday, April 1, 2012 @ 07:36:25
  Author: heftig
Revision: 155236

db-move: moved network-manager-applet from [gnome-unstable] to [testing] (x86_64)

Added:
  network-manager-applet/repos/testing-x86_64/
  network-manager-applet/repos/testing-x86_64/PKGBUILD
    (from rev 155005, network-manager-applet/repos/gnome-unstable-x86_64/PKGBUILD)
  network-manager-applet/repos/testing-x86_64/network-manager-applet.install
    (from rev 155005, network-manager-applet/repos/gnome-unstable-x86_64/network-manager-applet.install)
Deleted:
  network-manager-applet/repos/gnome-unstable-x86_64/

--------------------------------+
 PKGBUILD                       |   41 +++++++++++++++++++++++++++++++++++++++
 network-manager-applet.install |   18 +++++++++++++++++
 2 files changed, 59 insertions(+)

Copied: network-manager-applet/repos/testing-x86_64/PKGBUILD (from rev 155005, network-manager-applet/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-04-01 11:36:25 UTC (rev 155236)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Arjan Timmerman <arjan at archlinux.org>
+# Contributor: Wael Nasreddine <gandalf at siemens-mobiles.org>
+# Contributor: Tor Krill <tor at krill.nu>
+# Contributor: Will Rea <sillywilly at gmail.com>
+
+pkgname=network-manager-applet
+pkgver=0.9.4.1
+pkgrel=1
+pkgdesc="GNOME frontends to NetWorkmanager"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.gnome.org/projects/NetworkManager/"
+depends=('networkmanager' 'libgnome-keyring' 'polkit-gnome' 'gtk3' 'libnotify' 'gnome-icon-theme'
+         'mobile-broadband-provider-info' 'gconf' 'iso-codes')
+makedepends=('intltool' 'gnome-bluetooth')
+optdepends=('gnome-bluetooth: for PAN/DUN support')
+options=('!libtool' '!emptydirs')
+install=network-manager-applet.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.9/$pkgname-$pkgver.tar.xz)
+sha256sums=('b6b6de75e28d1fbcdfdbb51c0e40fcd6bc0ec0385bfecd16c457260491cd2ff7')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var \
+      --libexecdir=/usr/lib/networkmanager \
+      --disable-static \
+      --disable-maintainer-mode
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+
+  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain nm-applet ${pkgdir}/etc/gconf/schemas/*.schemas
+  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}

Copied: network-manager-applet/repos/testing-x86_64/network-manager-applet.install (from rev 155005, network-manager-applet/repos/gnome-unstable-x86_64/network-manager-applet.install)
===================================================================
--- testing-x86_64/network-manager-applet.install	                        (rev 0)
+++ testing-x86_64/network-manager-applet.install	2012-04-01 11:36:25 UTC (rev 155236)
@@ -0,0 +1,18 @@
+pkgname=network-manager-applet
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+}



More information about the arch-commits mailing list