diff --git a/srcpkgs/luaposix/template b/srcpkgs/luaposix/template index 4896c0a395c..8ae0a365325 100644 --- a/srcpkgs/luaposix/template +++ b/srcpkgs/luaposix/template @@ -1,18 +1,20 @@ # Template file for 'luaposix' pkgname=luaposix -version=5.1.15 -revision=2 +version=5.1.28 +revision=1 +wrksrc="${pkgname}-release-v${version}" build_style=gnu-configure configure_args="--libdir=/usr/lib/lua/5.1 --datadir=/usr/share/lua/5.1" -hostmakedepends="perl" -makedepends="lua-devel" +hostmakedepends="perl lua-devel" +makedepends="ncurses-devel lua-devel" depends="lua" short_desc="A POSIX library for Lua programming language" maintainer="davehome " license="GPL-2, LGPL-2.1" homepage="http://luaforge.net/projects/luaposix/" -distfiles="https://github.com/downloads/rrthomas/$pkgname/$pkgname-$version.tar.gz" -checksum=43a4be3279f42cbfcba6f9ae5218d786246203133d4a73806a53f53f95d6241c +create_srcdir=yes +distfiles="https://github.com/luaposix/luaposix/archive/release-v${version}.tar.gz" +checksum=d82a322cb93d25ef16ba2cbab79f6fa1d94806249542d771c2c89a5f9cc4345f post_install() { vmkdir usr/share/$pkgname/examples