[arch-commits] Commit in gnome-panel/trunk (PKGBUILD gnome-panel.install)

Ionut Biru ibiru at archlinux.org
Sat Mar 10 16:19:51 UTC 2012


    Date: Saturday, March 10, 2012 @ 11:19:50
  Author: ibiru
Revision: 152901

update to 3.3.91

Modified:
  gnome-panel/trunk/PKGBUILD
  gnome-panel/trunk/gnome-panel.install

---------------------+
 PKGBUILD            |   20 +++++++++-----------
 gnome-panel.install |   12 ++++++------
 2 files changed, 15 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-10 16:18:46 UTC (rev 152900)
+++ PKGBUILD	2012-03-10 16:19:50 UTC (rev 152901)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-panel
-pkgver=3.2.1
+pkgver=3.3.91
 pkgrel=1
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -12,14 +12,12 @@
 makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection' 'networkmanager' 'libcanberra')
 install=gnome-panel.install
 groups=('gnome')
-replaces=('gnome-panel-bonobo')
-provides=("gnome-panel-bonobo=${pkgver}")
 options=('!libtool' '!emptydirs')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('ae5ed578f9f54ad763bf5e46fd5431cdbc06fa2eefea03b390c90a3ffb18870d')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('6ec1341e37b830d3bd91feb3b4b144c29b72923608e7d188ee9db1ea8eb7717b')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$pkgname-$pkgver"
   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --disable-static \
       --libexecdir=/usr/lib/gnome-panel \
@@ -29,10 +27,10 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+  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 gnome-panel-3.0 ${pkgdir}/etc/gconf/schemas/*.schemas
-  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain gnome-panel-3.0 "$pkgdir"/etc/gconf/schemas/*.schemas
+  rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
 }

Modified: gnome-panel.install
===================================================================
--- gnome-panel.install	2012-03-10 16:18:46 UTC (rev 152900)
+++ gnome-panel.install	2012-03-10 16:19:50 UTC (rev 152901)
@@ -1,9 +1,9 @@
 pkgname=gnome-panel
 
 post_install() {
-  usr/sbin/gconfpkg --install ${pkgname}
-  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  gconfpkg --install $pkgname
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
 }
 
 pre_upgrade() {
@@ -15,10 +15,10 @@
 }
 
 pre_remove() {
-  usr/sbin/gconfpkg --uninstall ${pkgname}
+  gconfpkg --uninstall $pkgname
 }
 
 post_remove() {
-  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
 }




More information about the arch-commits mailing list