1 # Maintainer: Caleb Maclennan <caleb@alerque.com>
5 _rockname=${pkgbase#lua-}
6 pkgname=("$pkgbase" "lua51-$_rockname" "lua52-$_rockname" "lua53-$_rockname")
10 pkgdesc='A Lua port of the Perl Test::More unit testing framework'
12 url="https://framagit.org/fperrad/$_project"
15 _archive="$_project-$pkgver"
16 source=("$url/-/archive/$pkgver/$_archive.tar.bz2")
17 sha256sums=('7724391ad50a32ab55d32171d0901a68a136a404b9f0cd84aa59bf496b6a53b0')
26 depends=("${pkgname%-*}")
27 make LUAVER="$1" PREFIX=/usr DESTDIR="$pkgdir" install
28 install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYRIGHT
31 package_lua-testmore() {
35 package_lua53-testmore() {
39 package_lua52-testmore() {
43 package_lua51-testmore() {