summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzefr0x2023-12-12 18:36:48 +0300
committerzefr0x2023-12-12 18:36:48 +0300
commite8bac670217295a76b001e60bec39726299bc12e (patch)
tree1388e5baa7fb1622d6832c5d5b71e963f330f8c4
parent49b9cf4b9f23b04576566ac60494a3a14c5e3177 (diff)
downloadaur-e8bac670217295a76b001e60bec39726299bc12e.tar.gz
Use latest commint rather than latest version tag
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d92b638c2f35..0922ebf939b9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ianny-git
pkgdesc = Desktop utility periodically informing the user to take breaks
- pkgver = 0.1.0alpha.1
- pkgrel = 2
+ pkgver = v1.0.0beta.1.r2.g9dd95c3
+ pkgrel = 1
url = https://github.com/zefr0x/ianny
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index 111600399180..9a7f9f4c1a23 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgname="ianny-git"
_pkgname=${pkgname%-git}
-pkgver=0.1.0alpha.1
-pkgrel=2
+pkgver=v1.0.0beta.1.r2.g9dd95c3
+pkgrel=1
pkgdesc="Desktop utility periodically informing the user to take breaks"
arch=("x86_64")
url="https://github.com/zefr0x/ianny"
@@ -18,14 +18,12 @@ sha512sums=("SKIP")
pkgver() {
cd "${pkgname}"
- git describe --tags --abbrev=0 --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${pkgname}"
- git reset --hard "$(git describe --tags --abbrev=0 --match 'v*')"
-
arch-meson build
}