Merge pull request #124 from h44z/fix-pkgbuild

Fix pkgver, always use version for steamguard-cli
This commit is contained in:
Carson McManus 2022-02-02 11:29:48 -05:00 committed by GitHub
commit 55ca4dc049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ sha256sums=('SKIP')
pkgver() { pkgver() {
cd "${srcdir}/${_pkgname}" cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g' git describe --long --tags --match 'v*' | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g'
} }
build() { build() {