summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 813ae18..620dca7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Gabriel Jensen
pkgname=u8c
-pkgver=2
+pkgver=1.0.0
pkgrel=1
pkgdesc="C library for encoding, decoding, and printing UTF-8 bytes."
arch=("any")
@@ -11,7 +11,7 @@ license=("AGPL3")
sha512sums=("SKIP")
pkgver() {
cd "$srcdir/$pkgname"
- git rev-list --count HEAD
+ printf "%s.0.0" "$(($(git rev-list --count HEAD) - 1))"
}
build() {
cd "$srcdir/$pkgname"