# Maintainer: Chris Boyle pkgname=wwsd-git pkgver=r57.5991f83 pkgrel=1 pkgdesc="Sets wallpaper depending on user-set rules" arch=('any') url="https://github.com/cbosoft/wwsd" license=('MIT') groups=() depends=('python' 'python-docopt' 'nitrogen' 'i3-wm') makedepends=('git') source=("${pkgname}::git+https://github.com/cbosoft/wwsd.git#branch=master") md5sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd "${srcdir}" # python script install -vDm 755 "${pkgname}/wwsd" "${pkgdir}/usr/bin/wwsd" }