Page MenuHomePhabricator

PKGBUILD
No OneTemporary

PKGBUILD

pkgname=workrave-auto-hg
pkgver=r1
pkgrel=1
pkgdesc="A tool to set workrave on schedule"
arch=(any)
depends=('python' 'python-pyqt5' 'python-dbus' 'python-tzlocal' 'python-caldav' 'python-secretstorage')
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:

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 5, 12:32 AM (3 h, 5 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
902888
Default Alt Text
PKGBUILD (1 KB)

Event Timeline