updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / mate-conf-editor / PKGBUILD
blobafe49aab67370ad80a99012162357a8a20aeaef4
1 pkgname=mate-conf-editor
2 pkgver=2011.08.31
3 pkgrel=1
4 pkgdesc="A configuration database system editor"
5 arch=(i686 x86_64)
6 license=('LGPL')
7 depends=('mate-corba' 'libxml2' 'polkit' 'libldap' 'dbus-glib' 'gtk2' 'mate-conf')
8 makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gobject-introspection')
9 groups=('mate-extras')
10 install=mate-conf.install
11 url="http://matsusoft.com.ar/projects"
12 source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
13 sha256sums=('453ec686dc0da845df7039c2de088ec7eda38de61bfb1e0786e88fab654cfd54')
15 build() {
16         cd "${srcdir}/${pkgname}"
18         ./configure --prefix=/usr --sysconfdir=/etc \
19                 --libexecdir=/usr/lib/MateConf \
20                 --localstatedir=/var || return 1
22         make || return 1
25 package() {
26         cd "${srcdir}/${pkgname}"
28         make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
30         install -m755 -d ${pkgdir}/usr/share/mateconf/schemas
32         mateconf-merge-schema ${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1
33         rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas