[arch-commits] Commit in gnome-shell/trunk (PKGBUILD gnome-shell.install)
Ionut Biru
ibiru at archlinux.org
Sat Mar 10 21:11:24 UTC 2012
Date: Saturday, March 10, 2012 @ 16:11:24
Author: ibiru
Revision: 152963
update to 3.3.90
Modified:
gnome-shell/trunk/PKGBUILD
gnome-shell/trunk/gnome-shell.install
---------------------+
PKGBUILD | 16 ++++++----------
gnome-shell.install | 15 ++++++---------
2 files changed, 12 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-03-10 20:34:51 UTC (rev 152962)
+++ PKGBUILD 2012-03-10 21:11:24 UTC (rev 152963)
@@ -3,7 +3,7 @@
# Contributor: Flamelab <panosfilip at gmail.com
pkgname=gnome-shell
-pkgver=3.2.2.1
+pkgver=3.3.90
pkgrel=1
pkgdesc="The next generation GNOME Shell"
arch=('i686' 'x86_64')
@@ -15,11 +15,11 @@
options=('!libtool' '!emptydirs')
install=gnome-shell.install
groups=(gnome)
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('209363084ef2d58777d70d8430e4659b058cf854c4b9766f3019d69ffea34d6f')
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('8411932ee860415e37ef2da55536538430dc168dbc55fe7790d6f3bc15884532')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/gnome-shell \
@@ -29,10 +29,6 @@
}
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 gnome-shell "$pkgdir"/etc/gconf/schemas/*.schemas
- rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
Modified: gnome-shell.install
===================================================================
--- gnome-shell.install 2012-03-10 20:34:51 UTC (rev 152962)
+++ gnome-shell.install 2012-03-10 21:11:24 UTC (rev 152963)
@@ -1,22 +1,19 @@
pkgname=gnome-shell
post_install() {
- glib-compile-schemas usr/share/glib-2.0/schemas
- usr/sbin/gconfpkg --install ${pkgname}
+ glib-compile-schemas /usr/share/glib-2.0/schemas
}
pre_upgrade() {
- pre_remove $1
+ if [ -f /usr/share/gconf/schemas/$pkgname.schemas ]; then
+ gconfpkg --uninstall $pkgname
+ fi
}
post_upgrade() {
- post_install $1
+ post_install
}
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
post_remove() {
- glib-compile-schemas usr/share/glib-2.0/schemas
+ post_install
}
More information about the arch-commits
mailing list