[arch-commits] Commit in gnome-search-tool/trunk (PKGBUILD gnome-search-tool.install)
Jan Steffens
heftig at archlinux.org
Wed Oct 3 14:36:02 UTC 2012
Date: Wednesday, October 3, 2012 @ 10:36:02
Author: heftig
Revision: 167756
3.6.0
Modified:
gnome-search-tool/trunk/PKGBUILD
gnome-search-tool/trunk/gnome-search-tool.install
---------------------------+
PKGBUILD | 15 +++++----------
gnome-search-tool.install | 13 ++++++-------
2 files changed, 11 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-03 14:35:48 UTC (rev 167755)
+++ PKGBUILD 2012-10-03 14:36:02 UTC (rev 167756)
@@ -2,34 +2,29 @@
# Maintainer: Ionut Biru <ibiru at archlinux.org>
pkgname=gnome-search-tool
-pkgver=3.4.0
+pkgver=3.6.0
pkgrel=1
pkgdesc="Utility to search for files"
arch=(i686 x86_64)
url="http://gnome.org"
license=('GPL2')
-depends=('gconf' 'gtk3' 'libsm')
-makedepends=('intltool' 'gnome-doc-utils')
+depends=('gtk3' 'libsm')
+makedepends=('intltool' 'yelp-tools')
install=$pkgname.install
options=('!emptydirs')
groups=('gnome-extra')
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('6c4ed39ab1196d118e5e0d2a7faa07fbbb257831454ee92ff0c6f28c0942e69c')
+sha256sums=('a33000cd7d033be4ea50422f0f2cca611da5b79bd0f0875017f105a1bc177f42')
build() {
cd "$pkgname-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --disable-schemas-install
+ ./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "$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 $pkgname "$pkgdir"/etc/gconf/schemas/*.schemas
- rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
}
# vim:set ts=2 sw=2 et:
Modified: gnome-search-tool.install
===================================================================
--- gnome-search-tool.install 2012-10-03 14:35:48 UTC (rev 167755)
+++ gnome-search-tool.install 2012-10-03 14:36:02 UTC (rev 167756)
@@ -1,17 +1,16 @@
-pkgname=gnome-search-tool
-
post_install() {
- gconfpkg --install $pkgname
+ glib-compile-schemas usr/share/glib-2.0/schemas
}
pre_upgrade() {
- pre_remove
+ (( $(vercmp $2 3.6.0) < 0 )) && gconfpkg --uninstall gnome-search-tool
+ return 0
}
post_upgrade() {
- post_install
+ post_install
}
-pre_remove() {
- gconfpkg --uninstall $pkgname
+post_remove() {
+ post_install
}
More information about the arch-commits
mailing list