void-packages/srcpkgs/hamster-applet/template

25 lines
975 B
Bash

# Template file for 'hamster-applet'
pkgname=hamster-applet
version=2.91.2
revision=10
noarch=yes
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="Juan RP <xtraeme@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
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}
}