# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Roman Kyrylych # Contributor: William Rea pkgname=agave pkgver=0.4.4 pkgrel=2 pkgdesc="An colorscheme designer for the Gnome desktop" arch=('i686' 'x86_64') url="http://home.gna.org/colorscheme" license=('GPL') depends=('gtkmm' 'libgnomeui' 'libglademm' 'gconfmm>=2.18.1' 'hicolor-icon-theme') makedepends=('intltool' 'boost' 'gnome-doc-utils>=0.11.2') install=agave.install source=(http://download.gna.org/colorscheme/releases/agave-$pkgver.tar.bz2) md5sums=('376b4cfc4b63f3f42572207c84c9b182') build() { cd ${startdir}/src/${pkgname}-${pkgver} ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --disable-scrollkeeper make || return 1 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install mkdir -p ${startdir}/pkg/usr/share/gconf/schemas gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas \ ${startdir}/pkg/etc/gconf/schemas/*.schemas rm -rf ${startdir}/pkg/usr/etc sed -i "s/agave-icon.png/agave.png/" ${startdir}/pkg/usr/share/applications/agave.desktop }