diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 6 deletions
@@ -1,13 +1,14 @@ pkgbase = wallpaper-switch pkgdesc = Runs in backgroud and changes Gnome backgroud to NASA picture of the day. - pkgver = 0.1 + pkgver = 0.2.r0.g42536ed pkgrel = 1 url = https://github.com/mikolajb/wallpaper-switch arch = x86_64 arch = i686 license = MIT makedepends = go - source = wallpaper-switch-git::git+http://github.com/mikolajb/wallpaper-switch + source = wallpaper-switch::git+http://github.com/mikolajb/wallpaper-switch sha256sums = SKIP -pkgname = wallpaper-switch-git +pkgname = wallpaper-switch + @@ -1,7 +1,7 @@ # Maintainer: MikoĊaj Baranowski <mikolajb@gmail.com> pkgname=wallpaper-switch -pkgver=0.1 +pkgver=0.2.r0.g42536ed pkgrel=1 pkgdesc='Runs in backgroud and changes Gnome backgroud to NASA picture of the day.' license=('MIT') @@ -16,8 +16,8 @@ _gogouuid=github.com/nu7hatch/gouuid _gohtml=golang.org/x/net/html pkgver() { - cd "$pkgname" - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd ${srcdir}/${pkgname}/ + git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { |