diff options
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |