void-packages/srcpkgs/hamster-applet/template
2015-08-30 21:18:10 +02:00

24 lines
948 B
Bash

# Template file for 'hamster-applet'
pkgname=hamster-applet
version=2.91.2
revision=9
noarch=yes
build_style=waf
hostmakedepends="pkg-config intltool gnome-doc-utils docbook2x"
makedepends="python-devel glib-devel dbus-glib-devel gnome-control-center-devel
python-notify python-dbus python-sqlite python-xdg"
depends="python-dbus python-notify pygtk python-xdg python-gconf python-sqlite"
pycompile_module="hamster"
short_desc="Time tracking application for individuals"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://projecthamster.wordpress.com"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.bz2"
checksum=e16cccbc3f9127b5fbf0aea72e2c3d42ff4ebff756e9ef9acad8f2ce492c2d14
post_install() {
mv ${DESTDIR}/etc/gconf ${DESTDIR}/usr/share
# Remove panel applet that incompatible with GNOME Panel 3
rm -r ${DESTDIR}/usr/lib/{bonobo,hamster-applet,python2.7/site-packages/hamster/applet.py}
}