mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 20:27:14 +08:00
30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# $Id: PKGBUILD 74325 2010-03-30 19:18:08Z ibiru $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=gconf-editor
|
|
pkgver=2.32.0
|
|
pkgrel=1
|
|
pkgdesc="Graphical gconf registry editor"
|
|
arch=(i686 x86_64)
|
|
license=('GPL')
|
|
depends=('gconf>=2.28.1' 'hicolor-icon-theme')
|
|
makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils>=0.20.0')
|
|
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.32/gconf-editor-${pkgver}.tar.bz2)
|
|
sha256sums=('c6d1d35ce5d136121ad76efe1c4033425bb2ad3800e711bd1bca9ce869c12a1f')
|
|
|
|
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
|
|
}
|