Skip to content

Instantly share code, notes, and snippets.

@lgpasquale
Created March 10, 2020 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgpasquale/6d166907dfb2fda0f5c9c282d69bd2d5 to your computer and use it in GitHub Desktop.
Save lgpasquale/6d166907dfb2fda0f5c9c282d69bd2d5 to your computer and use it in GitHub Desktop.
hamster-time-tracker PKGBUILD
# Maintainer: Mathieu Clabaut <mathieu@clabaut.net>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Georg Vogetseder <georg.vogetseder@gmail.com>
pkgname=hamster-time-tracker2
pkgver=3.0.1
pkgrel=0
pkgdesc="Time tracking application that helps you to keep track on how much time you have spent during the day on activities you choose to track"
arch=('any')
url="https://github.com/projecthamster/hamster"
license=('GPL')
depends=('python-dbus' 'python-cairo' 'python-gobject' 'python-xdg' 'desktop-file-utils')
makedepends=('intltool' 'gnome-doc-utils')
source=("https://github.com/projecthamster/hamster/archive/v$pkgver.tar.gz")
prepare() {
cd hamster-$pkgver
}
build() {
cd hamster-$pkgver
./waf configure --prefix=/usr
./waf build
}
package() {
cd hamster-$pkgver
./waf install --destdir=$pkgdir
install -dm755 "$pkgdir/usr/lib/python3.8/site-packages"
# gschemas.compiled should not be part of the package, it is generated by the glib-compile-schemas Pacman hook
rm -f "${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled"
}
md5sums=('fc408882ca5253fc81da81e3790e1375')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment