summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Goto2018-09-20 13:02:38 +0200
committerPhilip Goto2018-09-20 13:02:38 +0200
commitef8c6b62743ec505e7640b11906f1b470f9d33a5 (patch)
tree69574967ba4deb01dbbc9285dbbfedf4bd72028a
parent4ec7f6896dc3af40a8a2c6e88d0a40252c0fb566 (diff)
downloadaur-ef8c6b62743ec505e7640b11906f1b470f9d33a5.tar.gz
Remove v prefix from version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7dd726297597..a34069441b15 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = libspng-git
pkgdesc = C library for reading and writing PNG format files with a focus on security and ease of use
- pkgver = v0.3.1.r2.gf77e500
+ pkgver = 0.3.1.r2.gf77e500
pkgrel = 1
url = https://libspng.org/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 9c758370bd6a..6b826f6d9102 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Philip Goto <philip.goto@gmail.com>
pkgname=libspng-git
-pkgver=v0.3.1.r2.gf77e500
+pkgver=0.3.1.r2.gf77e500
pkgrel=1
pkgdesc="C library for reading and writing PNG format files with a focus on security and ease of use"
arch=(i686 x86_64 armv6h armv7h)
@@ -17,7 +17,7 @@ md5sums=(SKIP)
pkgver() {
cd libspng
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {