luaposix: update to 33.4.0, switch to lua 5.3.

This commit is contained in:
Christopher Brannon 2017-03-25 21:27:45 -07:00
parent 8092ff823d
commit 7947f26c0f
1 changed files with 9 additions and 8 deletions

View File

@ -1,22 +1,23 @@
# Template file for 'luaposix' # Template file for 'luaposix'
pkgname=luaposix pkgname=luaposix
version=5.1.28 version=33.4.0
revision=5 revision=1
lib32disabled=yes lib32disabled=yes
wrksrc="${pkgname}-release-v${version}" wrksrc="${pkgname}-release-v${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--libdir=/usr/lib/lua/5.2 --datadir=/usr/share/lua/5.2" configure_args="--libdir=/usr/lib/lua/5.3 --datadir=/usr/share/lua/5.3 --docdir=/usr/share/doc/${pkgname}"
hostmakedepends="perl lua52-devel" hostmakedepends="perl lua-devel"
makedepends="ncurses-devel lua52-devel" makedepends="ncurses-devel lua-devel"
depends="lua" depends="lua"
short_desc="A POSIX library for Lua programming language" short_desc="A POSIX library for Lua programming language"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, LGPL-2.1" license="MIT"
homepage="http://luaforge.net/projects/luaposix/" homepage="http://luaforge.net/projects/luaposix/"
distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz" distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz"
checksum=d82a322cb93d25ef16ba2cbab79f6fa1d94806249542d771c2c89a5f9cc4345f checksum=e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21
post_install() { post_install() {
vlicense COPYING
vmkdir usr/share/$pkgname/examples vmkdir usr/share/$pkgname/examples
vcopy "*.lua" usr/share/$pkgname/examples vcopy "examples/*.lua" usr/share/$pkgname/examples
} }