summaryrefslogtreecommitdiff
path: root/extra/gnome-search-tool
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /extra/gnome-search-tool
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'extra/gnome-search-tool')
-rw-r--r--extra/gnome-search-tool/PKGBUILD34
-rw-r--r--extra/gnome-search-tool/gnome-search-tool.install17
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
+}