summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosip Ponjavic2023-08-09 10:31:22 +0200
committerJosip Ponjavic2023-08-09 10:31:22 +0200
commit8e6a8c871cc168cb37278ac71d39c66b0aa957b8 (patch)
treef72bddb639fdb3f380c400c51955910cdde8dc70
parente6b9d4b55800f77d0baf3918c71e09230e8f9dd8 (diff)
downloadaur-8e6a8c871cc168cb37278ac71d39c66b0aa957b8.tar.gz
upgpkg: 1.2.r1.gb690810-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d43c653c64d2..ea0b3b4ecb5c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = waypaper-git
pkgdesc = GUI wallpaper setter for Wayland
- pkgver = r3.g69317da
+ pkgver = 1.2.r1.gb690810
pkgrel = 1
url = https://github.com/anufrievroman/waypaper
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 45dc2d1c1a59..a1fa1e2efc19 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor:
pkgname=waypaper-git
-pkgver=r3.g69317da
+pkgver=1.2.r1.gb690810
pkgrel=1
pkgdesc='GUI wallpaper setter for Wayland'
arch=('any')
@@ -17,7 +17,7 @@ sha512sums=('SKIP')
pkgver() {
cd "${pkgname%-*}"
- printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {