luafilesystem: update to 1.7.0.2.

Closes #13444.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
Piotr Wójcik 2018-04-13 16:52:23 +02:00 committed by Enno Boland
parent e6e960ba76
commit 906b94d06b
2 changed files with 7 additions and 5 deletions

View File

@ -1,16 +1,16 @@
# Template file for 'luafilesystem'
pkgname=luafilesystem
version=1.6.3
revision=2
wrksrc="$pkgname-v_${version//./_}"
version=1.7.0.2
revision=1
wrksrc="$pkgname-${version//./_}"
makedepends="lua51-devel"
depends="lua51"
short_desc="File System Library for the Lua Programming Language"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://keplerproject.github.com/luafilesystem"
distfiles="https://github.com/keplerproject/${pkgname}/archive/v_${version//./_}.tar.gz"
checksum=5525d2b8ec7774865629a6a29c2f94cb0f7e6787987bf54cd37e011bfb642068
distfiles="https://github.com/keplerproject/${pkgname}/archive/v${version//./_}.tar.gz"
checksum=23b4883aeb4fb90b2d0f338659f33a631f9df7a7e67c54115775a77d4ac3cc59
do_build() {
make ${makejobs} CC="$CC" LUA_INC=${XBPS_CROSS_BASE}/usr/include/lua5.1

View File

@ -0,0 +1,2 @@
pattern='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\._]+(?=\.tar\.gz")'
version=${version//_/.}