summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaotieren2021-06-05 10:39:15 +0800
committertaotieren2021-06-05 10:39:15 +0800
commitb9c1fef53073be04d6219aa6d590b4ea668171e3 (patch)
treef2d1136375805d268e79b5fa5d653159ad2c7869
parent7c6c51b4e0f3f8ea0d20ad64e938da3fa8bfe0da (diff)
downloadaur-b9c1fef53073be04d6219aa6d590b4ea668171e3.tar.gz
Update xfel
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0c3ab3107f42..ed1ea1e765ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = xfel-git
pkgdesc = Tiny FEL tools for allwinner SOC, support RISC-V D1 chip.
- pkgver = b2b4856
+ pkgver = v1.0.1.r5.g357492c
pkgrel = 1
url = https://github.com/xboot/xfel
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 91cae37b9559..7e392b3a8481 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: taotieren <admin@taotieren.com>
pkgname=xfel-git
-pkgver=b2b4856
+pkgver=v1.0.1.r5.g357492c
pkgrel=1
pkgdesc="Tiny FEL tools for allwinner SOC, support RISC-V D1 chip."
arch=('any')
@@ -20,7 +20,7 @@ sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
- git describe --always | sed 's|-|.|g'
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {