New package: luaposix52-33.4.0

This commit is contained in:
Christopher Brannon 2017-03-25 21:29:50 -07:00
parent 796c782e64
commit 8092ff823d
1 changed files with 23 additions and 0 deletions

View File

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