diff options
Diffstat (limited to 'extra/gnome-search-tool')
-rw-r--r-- | extra/gnome-search-tool/PKGBUILD | 34 | ||||
-rw-r--r-- | extra/gnome-search-tool/gnome-search-tool.install | 17 |
2 files changed, 51 insertions, 0 deletions
diff --git a/extra/gnome-search-tool/PKGBUILD b/extra/gnome-search-tool/PKGBUILD new file mode 100644 index 000000000..7cbd3d7ef --- /dev/null +++ b/extra/gnome-search-tool/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 156843 2012-04-23 09:07:23Z ibiru $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=gnome-search-tool +pkgver=3.4.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') +install=$pkgname.install +options=('!emptydirs') +source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('6c4ed39ab1196d118e5e0d2a7faa07fbbb257831454ee92ff0c6f28c0942e69c') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --disable-schemas-install + 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: diff --git a/extra/gnome-search-tool/gnome-search-tool.install b/extra/gnome-search-tool/gnome-search-tool.install new file mode 100644 index 000000000..9bc909b92 --- /dev/null +++ b/extra/gnome-search-tool/gnome-search-tool.install @@ -0,0 +1,17 @@ +pkgname=gnome-search-tool + +post_install() { + gconfpkg --install $pkgname +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install +} + +pre_remove() { + gconfpkg --uninstall $pkgname +} |