luasec: update to 0.7.

closes #4615
This commit is contained in:
Diogo Leal 2018-11-11 01:14:07 -02:00 committed by maxice8
parent 55a8d83600
commit 6179b80d4c
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -1,8 +1,8 @@
# Template file for 'luasec'
pkgname=luasec
version=0.6
revision=9
wrksrc=${pkgname}-${pkgname}-${version}
version=0.7
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-makefile
hostmakedepends="lua"
makedepends="lua-devel libressl-devel"
@ -12,7 +12,7 @@ maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT"
homepage="https://github.com/brunoos/luasec"
distfiles="https://github.com/brunoos/luasec/archive/${pkgname}-${version}.tar.gz"
checksum=cef3a35c18beb8a54d9c8ce6260a4cabbd9a386de8711320d084daffad0aed5d
checksum=2176e95b1d2a72a3235ede5d2aa9838050feee55dade8fdbde4be7fdc66f3a31
do_build() {
lua src/options.lua -g ${XBPS_CROSS_BASE}/usr/include/openssl/ssl.h > src/options.h
@ -21,7 +21,5 @@ do_build() {
}
pre_install() {
export LUAPATH=${DESTDIR}/usr/share/lua/5.3
export LUACPATH=${DESTDIR}/usr/lib/lua/5.3
vlicense LICENSE
}