From 322b56c43bceeb6280466dd50548bbb3200d8282 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sun, 27 Oct 2019 20:46:43 +0100 Subject: 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. --- community/lua-cliargs/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'community/lua-cliargs') 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 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" -- cgit v1.2.3