diff options
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -12,6 +12,13 @@ conflicts=(${pkgname}) source=("${pkgname}::git+${url}") sha256sums=("SKIP") +pkgver() { + cd "${pkgname}" + ( set -o pipefail + printf "$(git describe --tags | awk -F- '{print $1}' | cut -c2-)" + ) +} + build() { cd "${pkgname}" cargo build --release |