aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikołaj Baranowski2016-06-19 16:56:09 +0200
committerMikołaj Baranowski2016-06-19 16:56:09 +0200
commitfd65bafc70bcf65a229edc40b5f5d05961453b6b (patch)
treecff5aa5a1cbf03c4cb052840912ca8121eee4df4
parent667b0152b8e9e96f4c32a067ab0f0cbdd4bc67cb (diff)
downloadaur-fd65bafc70bcf65a229edc40b5f5d05961453b6b.tar.gz
version 0.2
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD6
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1135f00cf770..237ca0ded04a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
+
diff --git a/PKGBUILD b/PKGBUILD
index 1dfe9bb3de96..6eb026183fac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {