void-packages/srcpkgs/hamster-applet/template
2020-01-03 00:55:06 +01:00

26 lines
1,020 B
Bash

# Template file for 'hamster-applet'
pkgname=hamster-applet
version=2.91.2
revision=10
archs=noarch
build_style=waf
pycompile_module="hamster"
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"
short_desc="Time tracking application for individuals"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://projecthamster.wordpress.com"
distfiles="${GNOME_SITE}/hamster-applet/${version%.*}/hamster-applet-${version}.tar.bz2"
checksum=e16cccbc3f9127b5fbf0aea72e2c3d42ff4ebff756e9ef9acad8f2ce492c2d14
broken="old gnome2 stuff, probably remove"
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}
}