diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-10-27 20:46:43 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-10-27 21:00:11 +0100 |
commit | 322b56c43bceeb6280466dd50548bbb3200d8282 (patch) | |
tree | 644b9cdb117d7222483d2b3b3e81ddef0eb8defb /community/lua-cliargs | |
parent | 56698fa6d62233186afc3e487b5acde2f196550c (diff) | |
download | aports-322b56c43bceeb6280466dd50548bbb3200d8282.tar.bz2 aports-322b56c43bceeb6280466dd50548bbb3200d8282.tar.xz |
community/lua-cliargs: change pkgver scheme
Version number of Lua rocks consists of version of the package followed by
revision of the rockspec, e.g. 3.0-1. Authors of Lua packages usually don't
consider the revision number as part of the package version, but not in this
case. I've originally decided to represent the rockspec revision as an
additional digit in the pkgver (3.0-1 -> 3.0.1), but it has showed up that
it's causing confusions. I hope that 3.0_p1 will be less confusing.
I'm aware of that 3.0.1 > 3.0_p1 but the new version 3.0-2 didn't introduce
any notable changes and I don't expect 3.0-3 anytime soon (the project is
inactive since April 2018), so it shouldn't cause any problems.
Diffstat (limited to 'community/lua-cliargs')
-rw-r--r-- | community/lua-cliargs/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/community/lua-cliargs/APKBUILD b/community/lua-cliargs/APKBUILD index adea9625b2..6104600c15 100644 --- a/community/lua-cliargs/APKBUILD +++ b/community/lua-cliargs/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=lua-cliargs _pkgname=lua_cliargs -pkgver=3.0.1 -_pkgver=${pkgver%.*}-${pkgver##*.} +pkgver=3.0_p1 +_pkgver=${pkgver%_p*}-${pkgver##*_p} pkgrel=1 pkgdesc="A command-line argument parsing module for Lua" url="https://github.com/amireh/lua_cliargs" @@ -41,4 +41,4 @@ _subpackage() { rm -r "$rockdir"/../../manifest "$rockdir"/doc } -sha512sums="2bdcd3c790a82351df598cb3d289de980fe771222ebd9715036678eecdbe51b7563d24629afa4d286b900d722bf844004d12f2330744a1e644d9286ac44b4dbe lua-cliargs-3.0.1.tar.gz" +sha512sums="2bdcd3c790a82351df598cb3d289de980fe771222ebd9715036678eecdbe51b7563d24629afa4d286b900d722bf844004d12f2330744a1e644d9286ac44b4dbe lua-cliargs-3.0_p1.tar.gz" |