From 24ae5e4d5bb1d63870e122ceff5a9182085c0ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Thu, 16 Apr 2020 22:43:29 +0200 Subject: [PATCH] Fix #37: Introduce new versioning scheme for AUR PKGBUILD --- AUR/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AUR/PKGBUILD b/AUR/PKGBUILD index 40ca2ba..63f1169 100644 --- a/AUR/PKGBUILD +++ b/AUR/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Mario Hüttel pkgname=gds-render -pkgver=20191020.403.448de30 +pkgver=v1.2_10_g00d02b8 pkgrel=1 pkgdesc="Conversion tool for converting GDS layout files into TikZ Code and PDF" arch=('i686' 'x86_64') @@ -15,8 +15,8 @@ sha1sums=('SKIP') pkgver () { _date=`date +"%Y%m%d"` - cd "${srcdir}/${pkgname}-git" - echo "$_date.$(git rev-list --count master).$(git rev-parse --short master)" + cd "${srcdir}/${pkgname}-git/version" + echo "$(echo "$(sh ./generate-version-string.sh)" | sed 's/-/_/g')" } build () {