[arch-commits] Commit in gnome-utils/repos (4 files)
Ionut Biru
ibiru at archlinux.org
Wed Sep 28 19:31:25 UTC 2011
Date: Wednesday, September 28, 2011 @ 15:31:24
Author: ibiru
Revision: 138953
db-move: moved gnome-utils from [gnome-unstable] to [testing] (x86_64)
Added:
gnome-utils/repos/testing-x86_64/
gnome-utils/repos/testing-x86_64/PKGBUILD
(from rev 138832, gnome-utils/repos/gnome-unstable-x86_64/PKGBUILD)
gnome-utils/repos/testing-x86_64/gnome-utils.install
(from rev 138832, gnome-utils/repos/gnome-unstable-x86_64/gnome-utils.install)
Deleted:
gnome-utils/repos/gnome-unstable-x86_64/
---------------------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
gnome-utils.install | 26 ++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
Copied: gnome-utils/repos/testing-x86_64/PKGBUILD (from rev 138832, gnome-utils/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-28 19:31:24 UTC (rev 138953)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-utils
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Common GNOME utilities for viewing disk usage, logs and fonts, taking screenshots, managing dictionaries and searching files"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('libgtop' 'libcanberra' 'libsm' 'gconf' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'desktop-file-utils' 'dconf')
+makedepends=('gnome-doc-utils' 'pkgconfig' 'intltool')
+options=('!libtool' '!emptydirs')
+url="http://www.gnome.org"
+groups=('gnome-extra')
+install=gnome-utils.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('532e071ad772afa9bcd116144bc6b644c8af3daf2eb3f76f6fa306aced1ef5f8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/gnome-utils \
+ --localstatedir=/var --disable-static \
+ --disable-scrollkeeper \
+ --disable-schemas-compile \
+ --disable-schemas-install
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-utils-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas
+ rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+
+ # remove it also from Xfce menu that ships its own thingy
+ sed -i -e "s/NotShowIn\=KDE\;/NotShowIn\=KDE\;XFCE\;/" ${pkgdir}/usr/share/applications/gnome-dictionary.desktop
+ sed -i -e "s/NotShowIn\=KDE\;/NotShowIn\=KDE\;XFCE\;/" ${pkgdir}/usr/share/applications/gnome-screenshot.desktop
+}
Copied: gnome-utils/repos/testing-x86_64/gnome-utils.install (from rev 138832, gnome-utils/repos/gnome-unstable-x86_64/gnome-utils.install)
===================================================================
--- testing-x86_64/gnome-utils.install (rev 0)
+++ testing-x86_64/gnome-utils.install 2011-09-28 19:31:24 UTC (rev 138953)
@@ -0,0 +1,26 @@
+pkgname=gnome-utils
+
+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
+ update-desktop-database -q
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/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
+ update-desktop-database -q
+}
More information about the arch-commits
mailing list