# $Id: PKGBUILD 44705 2009-07-03 18:09:50Z jgc $ # Maintainer: Jan de Groot # Contributor: Georg Vogetseder pkgname=hamster-applet pkgver=2.26.3 pkgrel=1 pkgdesc="GNOME time tracking applet" arch=('i686' 'x86_64') url="http://projecthamster.wordpress.com/" license=('GPL') depends=('gnome-python>=2.26.0' 'python-pysqlite>=2.4.1' 'gnome-python-desktop>=2.26.0' 'dbus-python>=0.83.0' 'gnome-panel>=2.26.3') makedepends=('intltool') options=('!libtool' '!emptydirs') groups=('gnome-extra') install="hamster-applet.install" source=(ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2) md5sums=('bc40602ef88e23e0a8c37c7086e953e7') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var || 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 hamster-applet ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas }