PKGBUILDs/community/agave/PKGBUILD
2009-10-09 21:15:33 -05:00

32 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
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
}