summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman)2020-05-08 11:45:41 +0100
committerCarsten Haitzler (Rasterman)2020-05-08 11:45:41 +0100
commit210ee1b1da2ef5c37c696c5fa593aead9e124e78 (patch)
tree07ca0eae5ee9da60343136ae874c7203fa99ca28
parent07f97e9daab20326ea3a0a8506e73a727b156cde (diff)
downloadaur-210ee1b1da2ef5c37c696c5fa593aead9e124e78.tar.gz
make pkgbuild work by stripping dash from version if its there in beta
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d2889835e2..4a9aeaee01a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@
_pkgname=enlightenment
pkgname=$_pkgname-git
-pkgver=0.23.99.24047.g5d0b5fe20
+pkgver=0.24.0.beta1.24074.g27fd81bde
pkgrel=1
pkgdesc="Enlightenment window manager - Development version"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
@@ -37,7 +37,7 @@ sha256sums=('SKIP')
pkgver() {
cd $_pkgname
- local v_ver=$(grep version meson.build | head -1 | sed s/version//g | tr ":'," " " | awk '{print $1}')
+ local v_ver=$(grep version meson.build | head -1 | sed s/version//g | tr ":'," " " | awk '{print $1}' | tr "-" ".")
printf "%s.%s.g%s" "$v_ver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}