aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-12-26 22:56:05 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-12-27 00:05:25 +0100
commitf1c4a19ed96460fa9fc489ef6e7d309796376ca4 (patch)
treea703e8e8ce2cb2afad5018c6cd547db8b439c46c
parentefc5613859ca3953c0d99c2e018fdcc99500b625 (diff)
downloadaports-f1c4a19ed96460fa9fc489ef6e7d309796376ca4.tar.gz
aports-f1c4a19ed96460fa9fc489ef6e7d309796376ca4.tar.bz2
aports-f1c4a19ed96460fa9fc489ef6e7d309796376ca4.tar.xz
community/lua-busted: upgrade to 2.0.0
-rw-r--r--community/lua-busted/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/community/lua-busted/APKBUILD b/community/lua-busted/APKBUILD
index 094fcfd2e5..71903a2ccc 100644
--- a/community/lua-busted/APKBUILD
+++ b/community/lua-busted/APKBUILD
@@ -2,8 +2,7 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=lua-busted
_pkgname=busted
-pkgver=2.0_rc13
-_pkgver=${pkgver/_/.}-0
+pkgver=2.0.0
pkgrel=0
pkgdesc="Elegant Lua unit testing"
url="https://olivinelabs.com/busted/"
@@ -14,9 +13,9 @@ depends="lua-cliargs lua-filesystem lua-system lua-cjson lua-say
lua-luassert lua-term lua-penlight lua-mediator"
checkdepends=""
subpackages=""
-source="$pkgname-$pkgver.tar.gz::https://github.com/Olivine-Labs/$_pkgname/archive/v$_pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/Olivine-Labs/$_pkgname/archive/v$pkgver.tar.gz
use-cjson.patch"
-builddir="$srcdir/$_pkgname-$_pkgver"
+builddir="$srcdir/$_pkgname-$pkgver"
# tests fail on x86_64 because cl_standalone.lua output is different, i don't know why --kaniini
options="!check"
@@ -73,7 +72,7 @@ _subpackage() {
depends="lua$lver ${depends//lua-/lua$lver-}"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
local destdir="$subpkgdir/usr/share/lua/$lver/$_pkgname"
- local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$_pkgver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir"
@@ -86,5 +85,5 @@ _subpackage() {
install -m 755 -D bin/busted-$lver "$subpkgdir"/usr/bin/busted-$lver
}
-sha512sums="ac6d6c96c6782184cf79cbd41d213974aa6bc50908fe77e1b0a874c1b82cd9a9300e05a8897489d2f5a8cb5f68ae2da24db9d10b0e0244d364f781606eb72d9f lua-busted-2.0_rc13.tar.gz
+sha512sums="3151694b1fba1acc52e3bcfee0231008b14934e89da5885d7e063c6f023479c42040c42a8c0aa6ff1f8303ad6b2a70f0687c8a218830de7231007ef8748457bf lua-busted-2.0.0.tar.gz
6de3c1181a391956f6ea01994960a5de3292a377be1949556eb6cd11986267e3da707decef1838f42f0236af4b25ce4ce09217abe976caa0110840b69efcab43 use-cjson.patch"