xa: update to 2.4.0.

This commit is contained in:
Duncaen 2023-11-19 15:39:26 +01:00
parent 9133ee7908
commit edb5ab387c
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'xa'
pkgname=xa
version=2.3.14
version=2.4.0
revision=1
build_style=gnu-makefile
make_check_args="-j1"
@ -11,10 +11,11 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.floodgap.com/retrotech/xa/"
distfiles="https://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz"
checksum=1b9bbabddbd8d3b9410b852e50a128eea41e681339e6f76c3e8076fa5420f02e
checksum=9e587a0ca8ff791009880bfa331f6ed36935e08ef9c123822ca175285f8c030c
post_extract() {
vsed -i 's/${LD}/${CC}/' src/Makefile
vsed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile
vsed -i 's/\($(DESTDIR)\)/\1$(PREFIX)/g' Makefile
vsed -i 's/\(^install:\) all/\1/' Makefile
}