diff options
-rw-r--r-- | main/lua-lyaml/APKBUILD | 4 | ||||
-rw-r--r-- | main/lua-stdlib-debug/APKBUILD | 36 | ||||
-rw-r--r-- | main/lua-stdlib-normalize/APKBUILD | 37 |
3 files changed, 2 insertions, 75 deletions
diff --git a/main/lua-lyaml/APKBUILD b/main/lua-lyaml/APKBUILD index e5bf60156f..672c96c6f7 100644 --- a/main/lua-lyaml/APKBUILD +++ b/main/lua-lyaml/APKBUILD @@ -2,7 +2,7 @@ _pkgname=lyaml pkgname=lua-$_pkgname pkgver=6.2 -pkgrel=1 +pkgrel=0 pkgdesc="LibYAML binding for Lua" url="https://github.com/gvvaughan/lyaml" arch="all" @@ -38,7 +38,7 @@ _subpackage() { local lver="${subpkgname%-lyaml}" lver=${lver#lua} pkgdesc="$pkgdesc $lver" - depends="lua$lver lua-stdlib-normalize" + depends="lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1" diff --git a/main/lua-stdlib-debug/APKBUILD b/main/lua-stdlib-debug/APKBUILD deleted file mode 100644 index e1d41fd895..0000000000 --- a/main/lua-stdlib-debug/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> -# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> -_pkgname=stdlib-debug -pkgname=lua-$_pkgname -pkgver=1.0 -pkgrel=0 -pkgdesc="Lua Debug Hints Library" -url="https://lua-stdlib.github.io/_debug/" -arch="all" -license="MIT" -options="!check" -source="$_pkgname-$pkgver.tar.gz::https://github.com/lua-stdlib/_debug/archive/v$pkgver.tar.gz" -builddir="$srcdir/_debug-$pkgver/lib/std/_debug" - -build() { - : -} - -package() { - cd "$builddir" - - local luadir=$pkgdir/usr/share/lua - local cdir=common/std/_debug - - for mod in *.lua; do - install -D -m 644 $mod "$luadir"/$cdir/$mod - done - - for ver in 5.1 5.2 5.3; do - local dir=$luadir/$ver/std - mkdir -p "$dir" - ln -s ../../$cdir "$dir" - done -} - -sha512sums="ed9b5135489b35805f8d4f658d0b707d3e722ee4c1b6c7dea90d029b23923fb32640ffb20c4a7914cd6e6351edb26df9749256176757c7f031b1327d4bf42ec0 stdlib-debug-1.0.tar.gz" diff --git a/main/lua-stdlib-normalize/APKBUILD b/main/lua-stdlib-normalize/APKBUILD deleted file mode 100644 index 1d04e42c51..0000000000 --- a/main/lua-stdlib-normalize/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> -# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> -_pkgname=stdlib-normalize -pkgname=lua-$_pkgname -pkgver=2.0.1 -pkgrel=0 -pkgdesc="Normalized Lua functions" -url="https://lua-stdlib.github.io/normalize/" -arch="all" -license="MIT" -depends="lua-stdlib-debug" -options="!check" -source="$_pkgname-$pkgver.tar.gz::https://github.com/lua-stdlib/normalize/archive/v$pkgver.tar.gz" -builddir="$srcdir/normalize-$pkgver/lib/std/normalize" - -build() { - : -} - -package() { - cd "$builddir" - - local luadir=$pkgdir/usr/share/lua - local cdir=common/std/normalize - - for mod in *.lua; do - install -D -m 644 $mod "$luadir"/$cdir/$mod - done - - for ver in 5.1 5.2 5.3; do - local dir=$luadir/$ver/std - mkdir -p "$dir" - ln -s ../../$cdir "$dir" - done -} - -sha512sums="a5dd11d65f613c16dfaae59703f1c296a6d74a56e6dfd12c0e288fa60bb0a344474922a0fe298a8a77d1d18672f45d21c12e1b3fb2ef6b306687975de336cb5c stdlib-normalize-2.0.1.tar.gz" |