mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
lua54-luaexpat: update to 1.5.0
This commit is contained in:
parent
ce7d0d2a71
commit
20dd007c49
1 changed files with 3 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'lua54-luaexpat'
|
||||
pkgname=lua54-luaexpat
|
||||
version=1.3.0
|
||||
revision=3
|
||||
version=1.5.0
|
||||
revision=1
|
||||
wrksrc=luaexpat-${version}
|
||||
make_build_args="EXPAT_INC=-I${XBPS_CROSS_BASE}/usr/include"
|
||||
makedepends="lua51-devel lua52-devel lua53-devel lua54-devel expat-devel"
|
||||
|
@ -12,16 +12,12 @@ maintainer="Duncaen <mail@duncano.de>"
|
|||
license="MIT"
|
||||
homepage="https://matthewwild.co.uk/projects/luaexpat/"
|
||||
distfiles="https://github.com/lunarmodules/luaexpat/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=9906b1ec81ba141f4cd03e2c8f6c633b15e40b3d341c52a1ef97243e521cdce1
|
||||
checksum=ae5710a948831b4260c2910f67d651e247dc3d48a228a31e1e78dd9e4a37aa48
|
||||
|
||||
post_extract() {
|
||||
cd "${wrksrc}"
|
||||
mkdir -p lua5.1
|
||||
|
||||
sed -n '/Copyright/,/SOFTWARE\./p' doc/us/license.html > LICENSE
|
||||
# lua 5.3+ does not work with -ansi (integer type detection error)
|
||||
vsed -i 's, -ansi,,' Makefile
|
||||
|
||||
mv * lua5.1 || true
|
||||
cp -a lua5.1 lua5.2
|
||||
cp -a lua5.1 lua5.3
|
||||
|
|
Loading…
Add table
Reference in a new issue