summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c343a817ab5..18c06a40d4a0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kde5-wallpaper-daynight-git
pkgdesc = A script that allows users to change their wallpaper in KDE Plasma based on the time of day.
- pkgver = v19_10_02_b
+ pkgver = 19.10.02.b.r0.g0bc26b8
pkgrel = 1
url = https://github.com/ResinDrake/kde5-wallpaper-daynight
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 2adc870fa9df..c59474e5f808 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: ResinDrake <resin@resindrake.net>
pkgname=kde5-wallpaper-daynight-git
_pkgname=kde5-wallpaper-daynight
-pkgver=v19_10_02_b
+pkgver=19.10.02.b.r0.g0bc26b8
pkgrel=1
pkgdesc="A script that allows users to change their wallpaper in KDE Plasma based on the time of day."
url="https://github.com/ResinDrake/kde5-wallpaper-daynight"
@@ -16,7 +16,11 @@ md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
- git describe
+ git describe --tags --long | sed '
+ s/^v//
+ s/\([^-]*-g\)/r\1/
+ y/-/./
+ '
}
package() {