pkgname=workrave-auto-hg pkgver=r1 pkgrel=1 pkgdesc="A tool to set workrave on schedule" arch=(any) depends=('python' 'python-pyqt5' 'python-dbus') makedepends=('mercurial') source=('workrave-auto-hg::hg+https://www.aboehler.at/hg/workrave-auto/') url="http://www.aboehler.at/" provides=('workrave-auto') conflicts=('workrave-auto') license=("GPL") sha256sums=(SKIP) pkgver() { cd "$pkgname" printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" } build() { cd ${pkgname} msg "Nothing to be done" } package() { mkdir -p "${pkgdir}"/usr/bin mkdir -p "${pkgdir}"/usr/share/applications mkdir -p "${pkgdir}"/usr/share/icons mkdir -p "${pkgdir}"/etc/xdg/autostart cd ${pkgname} install -m755 workrave-auto.py "${pkgdir}"/usr/bin/workrave-auto install -m644 workrave-auto.png "${pkgdir}"/usr/share/icons install -m644 workrave-auto.desktop "${pkgdir}"/usr/share/applications install -m644 workrave-auto.desktop "${pkgdir}"/etc/xdg/autostart } # vim:set ts=2 sw=2 et: