diff --git a/srcpkgs/lua51/template b/srcpkgs/lua51/template index c257b209ad..515fbd0f5d 100644 --- a/srcpkgs/lua51/template +++ b/srcpkgs/lua51/template @@ -1,14 +1,14 @@ # Template file for 'lua51' pkgname=lua51 version=5.1.5 -revision=8 +revision=9 wrksrc="lua-${version}" makedepends="ncurses-devel readline-devel" short_desc="Powerful, fast, lightweight, embeddable scripting language (5.1.x)" maintainer="Orphaned " -homepage="http://www.lua.org" license="MIT" -distfiles="http://www.lua.org/ftp/lua-$version.tar.gz" +homepage="https://www.lua.org" +distfiles="https://www.lua.org/ftp/lua-$version.tar.gz" checksum=2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333 alternatives=" @@ -16,15 +16,6 @@ alternatives=" lua:luac:/usr/bin/luac5.1 lua:lua.1:/usr/share/man/man1/lua5.1.1 lua:luac.1:/usr/share/man/man1/luac5.1.1 - lua:lua:/usr/include/lua5.1 - lua:/usr/include/lua.h:/usr/include/lua5.1/lua.h - lua:/usr/include/luaconf.h:/usr/include/lua5.1/luaconf.h - lua:/usr/include/lua.hpp:/usr/include/lua5.1/lua.hpp - lua:/usr/include/lualib.h:/usr/include/lua5.1/lualib.h - lua:/usr/include/lauxlib.h:/usr/include/lua5.1/lauxlib.h - lua:lua.pc:/usr/lib/pkgconfig/lua5.1.pc - lua:liblua.a:/usr/lib/liblua5.1.a - lua:liblua.so:/usr/lib/liblua5.1.so lua:lua:/usr/share/doc/lua5.1 " @@ -61,6 +52,17 @@ do_install() { lua51-devel_package() { depends="ncurses-devel readline-devel>=6.3 lua51>=${version}_${revision}" short_desc+=" - development files" + alternatives=" + lua-devel:lua:/usr/include/lua5.1 + lua-devel:/usr/include/lua.h:/usr/include/lua5.1/lua.h + lua-devel:/usr/include/luaconf.h:/usr/include/lua5.1/luaconf.h + lua-devel:/usr/include/lua.hpp:/usr/include/lua5.1/lua.hpp + lua-devel:/usr/include/lualib.h:/usr/include/lua5.1/lualib.h + lua-devel:/usr/include/lauxlib.h:/usr/include/lua5.1/lauxlib.h + lua-devel:lua.pc:/usr/lib/pkgconfig/lua5.1.pc + lua-devel:liblua.a:/usr/lib/liblua5.1.a + lua-devel:liblua.so:/usr/lib/liblua5.1.so + " pkg_install() { vmove usr/include vmove "usr/lib/*.a"