summaryrefslogtreecommitdiff
path: root/gnome-unstable/gconf-editor/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/gconf-editor/PKGBUILD')
-rw-r--r--gnome-unstable/gconf-editor/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnome-unstable/gconf-editor/PKGBUILD b/gnome-unstable/gconf-editor/PKGBUILD
new file mode 100644
index 000000000..d6fb91c69
--- /dev/null
+++ b/gnome-unstable/gconf-editor/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 117817 2011-04-04 18:08:43Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gconf-editor
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Graphical gconf registry editor"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gconf' 'hicolor-icon-theme')
+makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils')
+url="http://www.gnome.org"
+groups=('gnome-extra')
+options=(!emptydirs)
+install=gconf-editor.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
+sha256sums=('184e17416c2dd927ccb3a9b435d86fbe4b654316b91a6db724a3fd447a9fae60')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-scrollkeeper
+ make
+}
+
+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 gconf-editor ${pkgdir}/etc/gconf/schemas/*.schemas
+ rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}