summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Laker2019-09-09 00:51:30 -0400
committerKyle Laker2019-09-09 00:51:30 -0400
commitfc078fc3b93e0e141ddb60dc7ad9873ff9778fe6 (patch)
tree93f60d84d99a267295d02fb7a27f2e0812ce33ba
parent5fd6e53e1db5cb36542bff6e2e177f9e4f035f0a (diff)
downloadaur-fc078fc3b93e0e141ddb60dc7ad9873ff9778fe6.tar.gz
Fix version string
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 113cb15df37d..57f8dcba19ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lightdm-webkit-theme-litarvan-git
pkgdesc = Modern and full-featured LightDM theme
- pkgver = v3.0.0.pre3.r23.gc79eb52
+ pkgver = 3.0.0.pre3.r23.gc79eb52
pkgrel = 1
url = https://github.com/Litarvan/lightdm-webkit-theme-litarvan
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 4c2e50835c9b..a77850b39229 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_basepkg="lightdm-webkit-theme-litarvan"
pkgname="${_basepkg}-git"
#pkgname=lightdm-webkit-theme-litarvan
-pkgver=v3.0.0.pre3.r23.gc79eb52
+pkgver=3.0.0.pre3.r23.gc79eb52
pkgrel=1
pkgdesc='Modern and full-featured LightDM theme'
arch=('any')
@@ -19,7 +19,7 @@ sha512sums=('SKIP')
pkgver() {
cd "$pkgname"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {