summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeverin Glöckner2018-12-01 16:01:45 +0100
committerSeverin Glöckner2018-12-01 16:01:45 +0100
commitfc94bc7bbbd0ce0d6c370963750b88adf3a69c66 (patch)
treefb054de5526c569b10e2352cf86b1eeff60ac30f
parentbbaa75d600e695c8575f291c20f05ea6205fe353 (diff)
downloadaur-fc94bc7bbbd0ce0d6c370963750b88adf3a69c66.tar.gz
use same version number format as Debian
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1cf3a68afd2..46e98df7176 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = zipios-git
pkgdesc = Small C++ library for reading and writing zip files, similar to java.util.zip and the standard iostreams library
- pkgver = 2.1.7.git20181201
+ pkgver = 2.1.7+cvs.2018.12.01
pkgrel = 1
url = http://zipios.sourceforge.net
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 4cc8e1d5d7d..5e97ee766c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# zipios++ has been rebranded to zipios
pkgname=zipios-git
-pkgver=2.1.7.git20181201
+pkgver=2.1.7+cvs.2018.12.01
_pkgver=2.1.7
pkgrel=1
pkgdesc="Small C++ library for reading and writing zip files, similar to java.util.zip and the standard iostreams library"
@@ -17,8 +17,8 @@ source=("git+https://github.com/Zipios/Zipios.git")
md5sums=('SKIP')
pkgver() {
- _last_commit_date=$( git log -1 --date=short --pretty=format:%cd | sed s/-//g )
- echo $_pkgver.git$_last_commit_date
+ _last_commit_date=$( git log -1 --date=short --pretty=format:%cd | sed s/-/./g )
+ echo $_pkgver+cvs.$_last_commit_date
}
build() {