updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / maximus / PKGBUILD
blob979416de9dc6a4a5800dbdaa362728231d22c6e8
1 # Maintainer: michaudg
2 # Maintainer: Javier Aravena Claramunt <javier@aravenas.com>
3 pkgname=maximus
4 pkgver=0.4.14
5 pkgrel=2
6 pkgdesc="A desktop daemon which will automatically maximise and, optionally, un-decorate windows."
7 arch=("i686" "x86_64")
8 url="https://launchpad.net/maximus"
9 license=('GPL')
10 groups=(gnome)
11 depends=('gtk2' 'gconf' 'libwnck' 'libgnomeui' 'libxtst' 'libfakekey' 'libunique')
12 makedepends=()
13 optdepends=()
14 provides=()
15 conflicts=()
16 replaces=()
17 backup=()
18 options=()
19 install=${pkgname}.install
20 source=(http://launchpad.net/maximus/0.4/ubuntu-9.10/+download/${pkgname}-${pkgver}.tar.gz configure.patch)
21 noextract=()
22 md5sums=('c7d4b8cf318c90616be5ad1b0c299495'
23          '1fc3b090aa7613279cacbbacdd1319a9')
25 build() {
26   cd "$srcdir/$pkgname-$pkgver"
28   patch -n configure ${srcdir}/configure.patch
29   ./configure --prefix=/usr || return 1
30   make || 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