luarocks-lua51: update to 2.4.0.
This commit is contained in:
parent
f61c75d420
commit
126285944a
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'luarocks-lua51'
|
||||
pkgname=luarocks-lua51
|
||||
version=2.3.0
|
||||
version=2.4.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc=${pkgname%-*}-${version}
|
||||
|
@ -17,20 +17,22 @@ hostmakedepends="lua51-devel"
|
|||
depends="lua51 curl"
|
||||
conf_files="/etc/luarocks/config-5.1.lua"
|
||||
short_desc="Package management for Lua modules - Lua 5.1"
|
||||
maintainer="Duncaen <mail@duncano.de>"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="MIT"
|
||||
homepage="http://luarocks.org/"
|
||||
distfiles="http://luarocks.org/releases/luarocks-${version}.tar.gz"
|
||||
checksum=68e38feeb66052e29ad1935a71b875194ed8b9c67c2223af5f4d4e3e2464ed97
|
||||
checksum=44381c9128d036247d428531291d1ff9405ae1daa238581d3c15f96d899497c3
|
||||
|
||||
alternatives="
|
||||
luarocks:luarocks:/usr/bin/luarocks-5.1
|
||||
luarocks:luarocks-admin:/usr/bin/luarocks-admin-5.1"
|
||||
|
||||
pre_configure() {
|
||||
sed -i -e '/unzip/d' configure
|
||||
}
|
||||
pre_install() {
|
||||
sed -i -e 's;env lua;env lua5.1;g' src/bin/luarocks{,-admin}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
rm -rfv ${DESTDIR}/usr/bin/luarocks{,-admin}
|
||||
|
|
Loading…
Reference in New Issue