pkgname=monitorDaemon-hg pkgver=r5.4735eea7ea00 pkgrel=1 pkgdesc="A monitor daemon to remember screen positions" arch=(any) depends=('python' 'python-pyqt5' 'python-xlib') makedepends=('mercurial') source=('monitorDaemon-hg::hg+https://www.aboehler.at/hg/monitorDaemon/') url="http://www.aboehler.at/" provides=('monitorDaemon') conflicts=('monitorDaemon') 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 cd ${pkgname} install -m755 monitorDaemon.py "${pkgdir}"/usr/bin/monitorDaemon install -m644 monitorDaemon.png "${pkgdir}"/usr/share/icons install -m644 monitorDaemon.desktop "${pkgdir}"/usr/share/applications } # vim:set ts=2 sw=2 et: