diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-12 22:11:01 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-12 22:11:34 +0100 |
commit | e81f7ff6dcd02168a021f5db5001d8b5f5853ab5 (patch) | |
tree | f20fc83b089ef5f77d32ec689140a58326a75104 /testing | |
parent | 041c150fbdb9db8ec7b83f56297a05e17aba0f57 (diff) | |
download | aports-e81f7ff6dcd02168a021f5db5001d8b5f5853ab5.tar.bz2 aports-e81f7ff6dcd02168a021f5db5001d8b5f5853ab5.tar.xz |
community/lua-luassert: move from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lua-luassert/APKBUILD | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/testing/lua-luassert/APKBUILD b/testing/lua-luassert/APKBUILD deleted file mode 100644 index d515d40ed8..0000000000 --- a/testing/lua-luassert/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Jakub Jirutka <jakub@jirutka.cz> -# Maintainer: Jakub Jirutka <jakub@jirutka.cz> -pkgname=lua-luassert -_pkgname=luassert -pkgver=1.7.10 -pkgrel=0 -pkgdesc="Assertion library for Lua" -url="https://github.com/Olivine-Labs/luassert" -arch="noarch" -license="MIT" -subpackages="" -source="$pkgname-$pkgver.tar.gz::https://github.com/Olivine-Labs/$_pkgname/archive/v$pkgver.tar.gz" -builddir="$srcdir/$_pkgname-$pkgver" -# This module needs lua-busted to run tests, but lua-busted depends on -# lua-luassert and we wanna avoid circular dependencies. -options="!check" - -_luaversions="5.1 5.2 5.3" -for _v in $_luaversions; do - subpackages="$subpackages lua$_v-${pkgname#lua-}:_subpackage" -done - -package() { - mkdir -p "$pkgdir" -} - -_subpackage() { - local lver="${subpkgname:3:3}" - pkgdesc="$pkgdesc (for Lua $lver)" - depends="lua$lver lua$lver-say" - install_if="$pkgname=$pkgver-r$pkgrel lua$lver" - local destdir="$subpkgdir/usr/share/lua/$lver/$_pkgname" - - cd "$builddir" - mkdir -p "$destdir" - cp -r src/* "$destdir"/ -} - -sha512sums="2d5ca354b5f7b971f0d3420c305d921143cd7f9e1a6f4559cb466b833886a00a045e7b7c594bd9ec3c929b3d5bb8a7a4a6de75a6599e5cba7614b7652061bf05 lua-luassert-1.7.10.tar.gz" |