diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..db928b7ab650 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: willemw <willemw12@gmail.com> + +pkgname=daily-wallpaper-git +pkgver=r82.0b5e9e0 +pkgrel=1 +pkgdesc="Change wallpaper automatically with the Photo of The Day of you loved source" +arch=('x86_64') +url="https://github.com/atareao/daily-wallpaper" +license=('MIT') +depends=('python-gobject' 'python-lxml' 'python-cssselect' 'python-requests' 'python-crontab' 'python-plumbum' 'gtk3' 'libnotify') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=("$pkgname::git+$url.git") +md5sums=('SKIP') + +pkgver() { + cd $pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd $pkgname +} + |