mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 06:14:35 +08:00
30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
|
# $Id: PKGBUILD 54804 2009-10-11 19:35:26Z jgc $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
|
||
|
pkgname=gconf-editor
|
||
|
pkgver=2.28.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Graphical gconf registry editor"
|
||
|
arch=(i686 x86_64)
|
||
|
license=('GPL')
|
||
|
depends=('gconf>=2.27.0' 'hicolor-icon-theme')
|
||
|
makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils>=0.17.5')
|
||
|
url="http://www.gnome.org"
|
||
|
groups=('gnome-extra')
|
||
|
options=(!emptydirs)
|
||
|
install=gconf-editor.install
|
||
|
source=(http://ftp.gnome.org/pub/gnome/sources/gconf-editor/2.28/gconf-editor-${pkgver}.tar.bz2)
|
||
|
sha256sums=('35f5256f1a93e872586bb6b8c81f7ebfdd78ab3edcfa508f59f99f0f75a74839')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./configure --prefix=/usr --sysconfdir=/etc \
|
||
|
--localstatedir=/var --disable-scrollkeeper || return 1
|
||
|
make || return 1
|
||
|
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
|
||
|
|
||
|
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 || return 1
|
||
|
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
|
||
|
}
|