diff options
author | Severin Glöckner | 2018-12-01 16:01:45 +0100 |
---|---|---|
committer | Severin Glöckner | 2018-12-01 16:01:45 +0100 |
commit | fc94bc7bbbd0ce0d6c370963750b88adf3a69c66 (patch) | |
tree | fb054de5526c569b10e2352cf86b1eeff60ac30f | |
parent | bbaa75d600e695c8575f291c20f05ea6205fe353 (diff) | |
download | aur-fc94bc7bbbd0ce0d6c370963750b88adf3a69c66.tar.gz |
use same version number format as Debian
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -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 @@ -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() { |