pkgname=mate-utils pkgver=1.1.0 pkgrel=1 pkgdesc="Common MATE utilities for viewing disk usage, logs and fonts, taking screenshots, managing dictionaries and searching files" arch=('i686' 'x86_64') license=('GPL') makedepends=('libgtop' 'libcanberra' 'libsm' 'mateconf' 'hicolor-icon-theme' 'desktop-file-utils') makedepends=('mate-doc-utils' 'pkgconfig' 'intltool') options=('!libtool' '!emptydirs') install=mate-utils.install url="http://matsusoft.com.ar/projects" groups=('mate-extras') source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download) sha256sums=('999caaa8a0dd07a23481d724a6295edf581471a422cfeeda39755a453dd35611') build() { cd "${srcdir}/${pkgname}" ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --disable-static \ --libexecdir=/usr/lib/mate-utils \ --localstatedir=/var \ --disable-scrollkeeper \ --disable-schemas-install || return 1 make || return 1 } package() { cd "$srcdir/$pkgname" make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 install -m755 -d "${pkgdir}/usr/share/mateconf/schemas" mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/etc/mateconf/schemas/*.schemas || return 1 rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas }