mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/lua-aports: upgrade to 1.2.0
- enable tests - switch to lua 5.4
This commit is contained in:
parent
0cbdc698be
commit
a791a36f17
@ -1,22 +1,26 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=lua-aports
|
||||
pkgver=1.1.0
|
||||
pkgrel=1
|
||||
pkgver=1.2.0
|
||||
pkgrel=0
|
||||
pkgdesc="Lua modules for parsing aports tree"
|
||||
url="https://dev.alpinelinux.org/archive/lua-aports/"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="lua5.2-cjson lua5.2-filesystem lua5.2-optarg lua5.2"
|
||||
_luaver=5.4
|
||||
depends="lua$_luaver-cjson lua$_luaver-filesystem lua$_luaver-optarg lua$_luaver"
|
||||
checkdepends="lua$_luaver-penlight lua$_luaver-busted lua$_luaver-posix"
|
||||
replaces="abuild"
|
||||
source="$pkgname-$pkgver.tar.gz::https://gitlab.alpinelinux.org/alpine/lua-aports/-/archive/v$pkgver/lua-aports-v$pkgver.tar.gz
|
||||
source="$pkgname-$pkgver.tar.gz::https://gitlab.alpinelinux.org/alpine/lua-aports/-/archive/$pkgver/lua-aports-$pkgver.tar.gz
|
||||
"
|
||||
builddir="$srcdir/$pkgname-v$pkgver"
|
||||
options="!check"
|
||||
|
||||
check() {
|
||||
env -i busted-$_luaver --verbose -o gtest
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
961c54aba2078f6b9a6f40eeeab1d11c0f12f0f672f09860e8c93f9b378088ca8d0a6e1fc1c6936965744e1215874be526f95309a21a5d2fd52fb2688e09609b lua-aports-1.1.0.tar.gz
|
||||
f747d22272c867ab50c6bcfa5c9e86c8b4a2ff8ec77a7823f1b18527fda412a81fc687018c42800140008d12de3c2e3b3951a77c1e89136867337b649b82cc1b lua-aports-1.2.0.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user