summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorgoekce2021-10-16 10:18:30 +0200
committergoekce2021-10-16 10:18:30 +0200
commit8b971955d91ba3ea9f987bd867d6ae091d2da12d (patch)
tree1e698fd8d870360c90a4bb96758b597c1a065a8d /PKGBUILD
parentcc4b65159321c698e87bb94610f0d87c1d535190 (diff)
downloadaur-8b971955d91ba3ea9f987bd867d6ae091d2da12d.tar.gz
revised version number generation
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 51369c4dc78e..44e3d0510e64 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: leuko <aur_et_aydos_de>
_pkgname=xpra-html5
pkgname=${_pkgname}-git
-pkgver=r801.89552ae
+pkgver=v4.5.1.r14.g281b274
pkgrel=1
pkgdesc="HTML5 client for Xpra"
arch=('x86_64')
-url='https://www.xpra.org'
+url='https://github.com/Xpra-org/xpra-html5'
license=('MPL2')
conflicts=($_pkgname)
provides=($_pkgname)
@@ -21,7 +21,7 @@ md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {