diff options
author | Weitian Leung | 2018-03-05 22:19:09 +0800 |
---|---|---|
committer | Weitian Leung | 2018-03-05 22:19:09 +0800 |
commit | deb4d4e99732f823f4da50f7b411e9621b8bbc06 (patch) | |
tree | f84ffb7fc9a8cc9f340a4395688ee66d8feba547 /PKGBUILD | |
parent | 6f5ef7712007ce45a44de9b0ac7cb25833eeb788 (diff) | |
download | aur-deb4d4e99732f823f4da50f7b411e9621b8bbc06.tar.gz |
Temporary switch to golang branch to fix no update wallpaper at startup
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=bing-wallpaper-git pkgver=r46 -pkgrel=1 +pkgrel=2 pkgdesc="Bing Wallpaper of the Day as your Linux Desktop's wallpaper" arch=(any) url="https://github.com/marguerite/linux-bing-wallpaper" @@ -16,6 +16,11 @@ source=("$pkgname::git+https://github.com/marguerite/linux-bing-wallpaper.git") sha512sums=('SKIP') install=${pkgname}.install +prepare() { + cd "${srcdir}/${pkgname}" + git checkout golang +} + pkgver() { cd "${srcdir}/${pkgname}" printf "r%s" "$(git rev-list --count HEAD)" |