diff --git a/srcpkgs/luaexpat/template b/srcpkgs/luaexpat/template index 497dbe322ab..61dc698c2b4 100644 --- a/srcpkgs/luaexpat/template +++ b/srcpkgs/luaexpat/template @@ -1,7 +1,7 @@ # Template file for 'luaexpat' pkgname=luaexpat version=1.3.0 -revision=1 +revision=2 build_style=gnu-makefile make_build_args="LUA_INC=-I${XBPS_CROSS_BASE}/usr/include/lua5.1 EXPAT_INC=-I${XBPS_CROSS_BASE}/usr/include" makedepends="lua51-devel expat-devel" @@ -10,5 +10,10 @@ short_desc="XML Expat parsing for the Lua programming language" maintainer="Duncaen " license="MIT" homepage="https://matthewwild.co.uk/projects/luaexpat/" -distfiles="https://matthewwild.co.uk/projects/${pkgname}/${pkgname}-${version}.tar.gz" +distfiles="https://matthewwild.co.uk/projects/luaexpat/luaexpat-${version}.tar.gz" checksum=d060397960d87b2c89cf490f330508b7def1a0677bdc120531c571609fc57dc3 + +post_install() { + sed -n '/Copyright/,/SOFTWARE\./p' doc/us/license.html > LICENSE + vlicense LICENSE +}