diff options
author | Caleb Maclennan | 2022-10-21 14:27:17 +0300 |
---|---|---|
committer | Caleb Maclennan | 2022-10-21 14:27:17 +0300 |
commit | f1fa64c3ca4e61da0cc80e4d1d3025429aa61e33 (patch) | |
tree | a12ab91bfe828c1121ecabc42b2a380b3ff802b5 | |
parent | 87b58fccf188fc1f1e28b2e8edb8769ac269b828 (diff) | |
download | aur-f1fa64c3ca4e61da0cc80e4d1d3025429aa61e33.tar.gz |
upgpkg: luacheck-git 1.0.0.r2.g81bb2f2-1
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = luacheck-git pkgdesc = A tool for linting and static analysis of Lua code - pkgver = latest.r2.g81bb2f2 + pkgver = 1.0.0.r2.g81bb2f2 pkgrel = 1 url = https://github.com/lunarmodules/luacheck arch = any @@ -11,7 +11,7 @@ pkgbase = luacheck-git depends = lua-filesystem depends = lua-argparse optdepends = lua-lanes: for parallel checking - provides = luacheck=latest.r2.g81bb2f2 + provides = luacheck=1.0.0.r2.g81bb2f2 conflicts = luacheck source = git+https://github.com/lunarmodules/luacheck.git sha256sums = SKIP @@ -1,7 +1,7 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> pkgname=luacheck-git -pkgver=latest.r2.g81bb2f2 +pkgver=1.0.0.r2.g81bb2f2 pkgrel=1 _rockrel=1 pkgdesc='A tool for linting and static analysis of Lua code' @@ -24,7 +24,8 @@ sha256sums=('SKIP') pkgver() { cd "$_archive" - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags --abbrev=7 --match="v*.*.*" HEAD | + sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { |