public
anonymous / PKGBUILD.txt
Created

PKGBUILD

  • Download Gist
PKGBUILD.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
# Maintainer: michaudg
# Maintainer: Javier Aravena Claramunt <javier@aravenas.com>
pkgname=maximus
pkgver=0.4.14
pkgrel=2
pkgdesc="A desktop daemon which will automatically maximise and, optionally, un-decorate windows."
arch=("i686" "x86_64")
url="https://launchpad.net/maximus"
license=('GPL')
groups=(gnome)
depends=('gtk2' 'gconf' 'libwnck' 'libgnomeui' 'libxtst' 'libfakekey' 'libunique')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=${pkgname}.install
source=(http://launchpad.net/maximus/0.4/ubuntu-9.10/+download/${pkgname}-${pkgver}.tar.gz configure.patch 1.patch)
noextract=()
md5sums=('c7d4b8cf318c90616be5ad1b0c299495'
'1fc3b090aa7613279cacbbacdd1319a9'
'0450c9586d9fa460dcca73932030267f')
 
build() {
cd "$srcdir/$pkgname-$pkgver"
 
patch -R -n configure ${srcdir}/configure.patch
patch -p1 < ${srcdir}/1.patch
./configure --prefix=/usr || return 1
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${pkgdir} install || return 1
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain ${pkgname} ${pkgdir}/usr/etc/gconf/schemas/*.schemas || return 1
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.