diff options
author | Coelacanthus | 2020-07-13 21:44:47 +0800 |
---|---|---|
committer | Coelacanthus | 2020-07-13 21:44:47 +0800 |
commit | b89e2d1997f1af080092aa001b707efacb37b906 (patch) | |
tree | 4af1873121a4db17721ebc61c6a695a594dc3a1a | |
parent | 6c68aa1e80eadbefa4b093e1f459a5cf86c0640d (diff) | |
download | aur-b89e2d1997f1af080092aa001b707efacb37b906.tar.gz |
fix ver
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = lemon-lime-git pkgdesc = 为了 OI 比赛而生的基于 Lemon 的轻量评测系统 | A tiny judging environment for OI contest based on Project_LemonPlus - pkgver = v0.2.2.r0.30698de - pkgrel = 2 + pkgver = 0.2.2.r2.f8de93a + pkgrel = 1 epoch = 1 url = https://github.com/iotang/Project_LemonLime arch = x86_64 @@ -2,8 +2,8 @@ pkgname=lemon-lime-git _pkgname=lemon-lime -pkgver=v0.2.2.r0.30698de -pkgrel=2 +pkgver=0.2.2.r2.f8de93a +pkgrel=1 epoch=1 pkgdesc="为了 OI 比赛而生的基于 Lemon 的轻量评测系统 | A tiny judging environment for OI contest based on Project_LemonPlus" arch=(x86_64) @@ -33,7 +33,7 @@ pkgver() { cd "$srcdir/Project_LemonLime" #git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' # Git, tags available - printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//g')" # printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" # Git, no tags available |