2 # Maintainer: Javier Aravena Claramunt <javier@aravenas.com>
6 pkgdesc="A desktop daemon which will automatically maximise and, optionally, un-decorate windows."
8 url="https://launchpad.net/maximus"
11 depends=('gtk2' 'gconf' 'libwnck' 'libgnomeui' 'libxtst' 'libfakekey' 'libunique')
19 install=${pkgname}.install
20 source=(http://launchpad.net/maximus/0.4/ubuntu-9.10/+download/${pkgname}-${pkgver}.tar.gz configure.patch)
22 md5sums=('c7d4b8cf318c90616be5ad1b0c299495'
23 '1fc3b090aa7613279cacbbacdd1319a9')
26 cd "$srcdir/$pkgname-$pkgver"
28 patch -n configure ${srcdir}/configure.patch
29 ./configure --prefix=/usr || return 1
31 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install || return 1
32 install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
33 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/usr/etc/gconf/schemas/*.schemas || return 1