mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:47:14 +08:00
43 lines
1.6 KiB
Bash
43 lines
1.6 KiB
Bash
# $Id: PKGBUILD 74317 2010-03-30 19:00:27Z ibiru $
|
|
# Maintainer: Jan de Groot <jan@archlinux.org>
|
|
|
|
pkgname=gconf
|
|
pkgver=2.32.0
|
|
pkgrel=1
|
|
pkgdesc="A configuration database system"
|
|
arch=(i686 x86_64)
|
|
license=('LGPL')
|
|
depends=('orbit2>=2.14.18' 'gtk2>=2.22.0' 'libxml2>=2.7.7' 'polkit>=0.98' 'libldap>=2.4.23' 'dbus')
|
|
makedepends=('pkgconfig' 'intltool' 'gtk-doc')
|
|
options=('!libtool')
|
|
install=gconf.install
|
|
url="http://www.gnome.org"
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/GConf/2.32/GConf-${pkgver}.tar.bz2
|
|
gconf-merge-schema
|
|
gconfpkg
|
|
gconf-reload.patch
|
|
01_xml-gettext-domain.patch)
|
|
md5sums=('b161da6a1ab090b649aed3111003b0bb'
|
|
'240b473fa17b748fc9020caf372d936c'
|
|
'b745f04b4121d8724c002b14a4c110b6'
|
|
'cfcc8e15be7b8a48de4aa34336ff6090'
|
|
'1f9362976d71312bdb57c57fa031681d')
|
|
|
|
build() {
|
|
cd "${srcdir}/GConf-${pkgver}"
|
|
# Patch from fedora - reloads gconf after installing schemas
|
|
patch -Np1 -i "${srcdir}/gconf-reload.patch" || return 1
|
|
# http://bugzilla.gnome.org/show_bug.cgi?id=568845
|
|
patch -Np1 -i "${srcdir}/01_xml-gettext-domain.patch" || return 1
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--localstatedir=/var --libexecdir=/usr/lib/GConf \
|
|
--disable-static --enable-defaults-service || return 1
|
|
make pkglibdir=/usr/lib/GConf || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -m755 -d "${pkgdir}/etc/gconf/gconf.xml.system" || return 1
|
|
install -m755 "${srcdir}/gconf-merge-schema" "${pkgdir}/usr/bin/" || return 1
|
|
install -d -m755 "${pkgdir}/usr/sbin"
|
|
install -m755 "${srcdir}/gconfpkg" "${pkgdir}/usr/sbin/" || return 1
|
|
}
|