pkgname=mate-window-manager pkgver=1.4.0 pkgrel=1 pkgdesc="A window manager for MATE" arch=(i686 x86_64) license=('GPL') depends=('mate-conf' 'mate-dialogs' 'libgtop' 'libwnck') # 'libcanberra' 'startup-notification' makedepends=('intltool' 'pkgconfig' 'mate-doc-utils') options=('!emptydirs' '!libtool') install=mate-window-manager.install url="http://matsusoft.com.ar/projects/mate/" groups=('mate') source=(metacity-restartstyle.patch) sha256sums=('ea2450ca3e4fb59166ec18ff4844cc61cb16865880dc6b125078a3ab47bf2caf') build() { cd "${srcdir}/../../../" ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/mate-window-manager \ --disable-static \ --disable-startup-notification \ --disable-scrollkeeper || return 1 make || return 1 } package() { cd "${srcdir}/../../../" 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 rm -f ${pkgdir}/etc/mateconf/schemas/*.schemas }