From adacfd03873f931076287f62639ebff8c6971472 Mon Sep 17 00:00:00 2001 From: cultab Date: Tue, 4 Oct 2022 09:22:38 +0300 Subject: [PATCH 1/2] lua54-luaexpat: update checksum and distfiles As per the documentation on the [homepage](https://matthewwild.co.uk/projects/luaexpat/) under Download, the source is distributed throught github. It seems the move was done on version 1.4.0, versions 1.3.0 and 1.2.0 have been recreated on the github repo. --- srcpkgs/lua54-luaexpat/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lua54-luaexpat/template b/srcpkgs/lua54-luaexpat/template index 7e2e1004727c..8221f293200b 100644 --- a/srcpkgs/lua54-luaexpat/template +++ b/srcpkgs/lua54-luaexpat/template @@ -11,8 +11,8 @@ short_desc="${_desc} (5.4.x)" maintainer="Duncaen " license="MIT" homepage="https://matthewwild.co.uk/projects/luaexpat/" -distfiles="https://matthewwild.co.uk/projects/luaexpat/luaexpat-${version}.tar.gz" -checksum=d060397960d87b2c89cf490f330508b7def1a0677bdc120531c571609fc57dc3 +distfiles="https://github.com/lunarmodules/luaexpat/archive/refs/tags/${version}.tar.gz" +checksum=9906b1ec81ba141f4cd03e2c8f6c633b15e40b3d341c52a1ef97243e521cdce1 post_extract() { cd "${wrksrc}" From 6b6d6b4358a6fe2f56476bb6dc1ffdf7e2b36ee0 Mon Sep 17 00:00:00 2001 From: cultab Date: Tue, 4 Oct 2022 09:35:57 +0300 Subject: [PATCH 2/2] lua54-luaexpat: update to 1.5.0 --- srcpkgs/lua54-luaexpat/template | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/srcpkgs/lua54-luaexpat/template b/srcpkgs/lua54-luaexpat/template index 8221f293200b..980078f358d3 100644 --- a/srcpkgs/lua54-luaexpat/template +++ b/srcpkgs/lua54-luaexpat/template @@ -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 " 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