New package: lua54-linenoise-0.9
This commit is contained in:
parent
940ce64b2e
commit
f2435bf543
1
srcpkgs/lua51-linenoise
Symbolic link
1
srcpkgs/lua51-linenoise
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
lua54-linenoise
|
1
srcpkgs/lua52-linenoise
Symbolic link
1
srcpkgs/lua52-linenoise
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
lua54-linenoise
|
1
srcpkgs/lua53-linenoise
Symbolic link
1
srcpkgs/lua53-linenoise
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
lua54-linenoise
|
49
srcpkgs/lua54-linenoise/template
Normal file
49
srcpkgs/lua54-linenoise/template
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# Template file for 'lua54-linenoise'
|
||||||
|
pkgname=lua54-linenoise
|
||||||
|
version=0.9
|
||||||
|
revision=1
|
||||||
|
hostmakedepends="lua51 lua52 lua53 lua54 luarocks-lua54"
|
||||||
|
makedepends="lua51-devel lua52-devel lua53-devel lua54-devel"
|
||||||
|
depends="lua54"
|
||||||
|
short_desc="Bindings for the linenoise command line library"
|
||||||
|
maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/hoelzro/lua-linenoise"
|
||||||
|
distfiles="https://github.com/hoelzro/lua-linenoise/archive/refs/tags/${version}.tar.gz"
|
||||||
|
checksum=cc1cdb4047edd056a10dcdeec853dbaf5088e2202941d579e4592584d733f09c
|
||||||
|
|
||||||
|
_rockname=${pkgname#lua54-}
|
||||||
|
_rocksrel=1
|
||||||
|
_package() {
|
||||||
|
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
|
||||||
|
make --deps-mode=none --no-manifest "${_rockname}-${version}-${_rocksrel}.rockspec"
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
_package 5.4
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
||||||
|
|
||||||
|
lua53-linenoise_package() {
|
||||||
|
depends="lua53"
|
||||||
|
pkg_install() {
|
||||||
|
_package 5.3
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
lua52-linenoise_package() {
|
||||||
|
depends="lua52"
|
||||||
|
pkg_install() {
|
||||||
|
_package 5.2
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
lua51-linenoise_package() {
|
||||||
|
depends="lua51"
|
||||||
|
pkg_install() {
|
||||||
|
_package 5.1
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user