mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-12 20:27:02 +02:00
New package: lua54-luaepnf-0.3
This commit is contained in:
parent
1d43119d8f
commit
6961262238
4 changed files with 54 additions and 0 deletions
1
srcpkgs/lua51-luaepnf
Symbolic link
1
srcpkgs/lua51-luaepnf
Symbolic link
|
@ -0,0 +1 @@
|
|||
lua54-luaepnf
|
1
srcpkgs/lua52-luaepnf
Symbolic link
1
srcpkgs/lua52-luaepnf
Symbolic link
|
@ -0,0 +1 @@
|
|||
lua54-luaepnf
|
1
srcpkgs/lua53-luaepnf
Symbolic link
1
srcpkgs/lua53-luaepnf
Symbolic link
|
@ -0,0 +1 @@
|
|||
lua54-luaepnf
|
51
srcpkgs/lua54-luaepnf/template
Normal file
51
srcpkgs/lua54-luaepnf/template
Normal file
|
@ -0,0 +1,51 @@
|
|||
# Template file for 'lua54-luaepnf'
|
||||
pkgname=lua54-luaepnf
|
||||
version=0.3
|
||||
revision=1
|
||||
hostmakedepends="lua51 lua52 lua53 lua54 luarocks-lua54"
|
||||
depends="lua54 lua54-lpeg"
|
||||
short_desc="Extended PEG Notation Format (easy grammars for LPeg)"
|
||||
maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/siffiejoe/lua-luaepnf"
|
||||
distfiles="https://github.com/siffiejoe/lua-luaepnf/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=57c0ad1917e45c5677bfed0f6122da2baff98117aba05a5e987a0238600f85f9
|
||||
|
||||
_rockname=${pkgname#lua54-}
|
||||
_rocksrel=scm-0
|
||||
_package() {
|
||||
luarocks --lua-version="$1" --tree="${PKGDESTDIR}/usr/" \
|
||||
make --deps-mode=none --no-manifest "${_rockname}-${_rocksrel}.rockspec"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
_package 5.4
|
||||
sed -n '14,38p' README.md > LICENSE
|
||||
vlicense LICENSE
|
||||
}
|
||||
lua53-luaepnf_package() {
|
||||
build_style=meta
|
||||
depends="lua53 lua53-lpeg"
|
||||
pkg_install() {
|
||||
_package 5.3
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
||||
lua52-luaepnf_package() {
|
||||
build_style=meta
|
||||
depends="lua52 lua52-lpeg"
|
||||
pkg_install() {
|
||||
_package 5.2
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
||||
lua51-luaepnf_package() {
|
||||
build_style=meta
|
||||
depends="lua51 lua51-lpeg"
|
||||
pkg_install() {
|
||||
_package 5.1
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue