[arch-commits] Commit in network-manager-applet/repos (4 files)
Ionut Biru
ibiru at archlinux.org
Wed Sep 28 19:32:48 UTC 2011
Date: Wednesday, September 28, 2011 @ 15:32:47
Author: ibiru
Revision: 139028
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 138832, network-manager-applet/repos/gnome-unstable-x86_64/PKGBUILD)
network-manager-applet/repos/testing-x86_64/network-manager-applet.install
(from rev 138832, network-manager-applet/repos/gnome-unstable-x86_64/network-manager-applet.install)
Deleted:
network-manager-applet/repos/gnome-unstable-x86_64/
--------------------------------+
PKGBUILD | 40 +++++++++++++++++++++++++++++++++++++++
network-manager-applet.install | 18 +++++++++++++++++
2 files changed, 58 insertions(+)
Copied: network-manager-applet/repos/testing-x86_64/PKGBUILD (from rev 138832, network-manager-applet/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-28 19:32:47 UTC (rev 139028)
@@ -0,0 +1,40 @@
+# $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.1.90
+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')
+install=network-manager-applet.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.9/$pkgname-$pkgver.tar.xz)
+sha256sums=('e98d285cc75a331557551900ebd815c24cb3132027f981823af4fb76ec368d95')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/usr/lib/networkmanager \
+ --disable-static \
+ --disable-maintainer-mode
+ make
+}
+
+package() {
+ cd "${srcdir}/${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 138832, 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 2011-09-28 19:32:47 UTC (rev 139028)
@@ -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