contrib/gconf/Pkgfile
2012-06-15 01:33:21 +10:00

41 lines
1.1 KiB
Plaintext

# Description: Configuration database system.
# URL: http://www.gnome.org/projects/gconf/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Matt Housh, jaeger at morpheus dot net
# Depends on: dbus-glib gtk intltool xorg-libxdamage
name=gconf
version=3.2.3
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/GConf/${version%.*}/GConf-$version.tar.xz)
# http://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gconf&id=1c9b8f8b216ce06cca53d81cfb42319e7db8fb94
build() {
cd GConf-$version
rm po/*.po
sed -i \
-e "s/USE_NLS=yes/USE_NLS=no/" \
-e "s/ENABLE_NLS 1/ENABLE_NLS 0/" configure
# Python2 fix
sed -i '1s|#!/usr/bin/env python$|&2|' gsettings/gsettings-schema-convert
./configure \
--prefix=/usr \
--mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/GConf \
--with-gtk=2.0 \
--disable-gtk-doc-html \
--disable-orbit \
--disable-nls \
--disable-dependency-tracking
make pkglibdir=/usr/lib/GConf
make DESTDIR=$PKG install
rm -r $PKG/usr/share/gtk-doc
}