diff --git a/srcpkgs/luaposix51/template b/srcpkgs/luaposix51/template index bd8158ff237..e3bcc5781c4 100644 --- a/srcpkgs/luaposix51/template +++ b/srcpkgs/luaposix51/template @@ -1,20 +1,20 @@ # Template file for 'luaposix51' pkgname=luaposix51 -version=5.1.28 -revision=3 +version=33.4.0 +revision=1 lib32disabled=yes wrksrc="luaposix-release-v${version}" build_style=gnu-configure -configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1" +configure_args="--libdir=/usr/lib/lua/5.3 --datadir=/usr/share/lua/5.3 --docdir=/usr/share/doc/${pkgname}" hostmakedepends="perl lua51-devel automake libtool" makedepends="ncurses-devel lua51-devel" -depends="lua51 lua51-BitOp" +depends="lua51 lua51-bitlib" short_desc="A POSIX library for Lua programming language" maintainer="Juan RP " -license="GPL-2, LGPL-2.1" +license="MIT" homepage="http://luaforge.net/projects/luaposix/" distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz" -checksum=d82a322cb93d25ef16ba2cbab79f6fa1d94806249542d771c2c89a5f9cc4345f +checksum=e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21 make_build_args="INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/lua5.1" @@ -26,6 +26,7 @@ pre_configure() { } post_install() { + vlicense COPYING vmkdir usr/share/$pkgname/examples - vcopy "*.lua" usr/share/$pkgname/examples + vcopy "examples/*.lua" usr/share/$pkgname/examples }