Skip to content

Instantly share code, notes, and snippets.

Created November 15, 2012 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4077847 to your computer and use it in GitHub Desktop.
Save anonymous/4077847 to your computer and use it in GitHub Desktop.
PKGBUILD
# 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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment