New package: lua54-luautf8-0.1.5
This commit is contained in:
parent
f2435bf543
commit
166e79cffb
|
@ -0,0 +1 @@
|
|||
lua54-luautf8
|
|
@ -0,0 +1 @@
|
|||
lua54-luautf8
|
|
@ -0,0 +1 @@
|
|||
lua54-luautf8
|
|
@ -0,0 +1,55 @@
|
|||
# Template file for 'lua54-luautf8'
|
||||
pkgname=lua54-luautf8
|
||||
version=0.1.5
|
||||
revision=1
|
||||
build_style=meta
|
||||
hostmakedepends="luarocks-lua54"
|
||||
depends="lua54"
|
||||
short_desc="UTF-8 support module for Lua and LuaJIT"
|
||||
maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/starwing/luautf8"
|
||||
distfiles="https://github.com/starwing/luautf8/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=f4bddecc87521c53d37c09b9e9edd70a4ab35b0074040f303cbe3a0e088af21c
|
||||
|
||||
_lua_versions="lua5.1 lua5.2 lua5.3 lua5.4"
|
||||
for _lua_version in $_lua_versions; do
|
||||
hostmakedepends+=" ${_lua_version/./}"
|
||||
makedepends+=" ${_lua_version/./}-devel"
|
||||
done
|
||||
|
||||
_rockname=${pkgname#lua54-}
|
||||
_rocksrel=1
|
||||
_package() {
|
||||
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
|
||||
make --deps-mode=none --no-manifest "rockspecs/${_rockname}-${version}-${_rocksrel}.rockspec"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
_package 5.4
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
lua53-luautf8_package() {
|
||||
depends="lua51"
|
||||
pkg_install() {
|
||||
_package 5.3
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
||||
lua52-luautf8_package() {
|
||||
depends="lua52"
|
||||
pkg_install() {
|
||||
_package 5.2
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
||||
lua51-luautf8_package() {
|
||||
depends="lua51"
|
||||
pkg_install() {
|
||||
_package 5.1
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue