xa: update to 2.3.10.

This commit is contained in:
Duncaen 2019-11-10 15:26:55 +01:00
parent 3bc9d38b36
commit 6b07abcbe2
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,19 +1,19 @@
# Template file for 'xa' # Template file for 'xa'
pkgname=xa pkgname=xa
version=2.3.9 version=2.3.10
revision=1 revision=1
build_style=gnu-makefile build_style=gnu-makefile
make_check_target="test" make_check_target="test"
checkdepends="perl" checkdepends="perl"
short_desc="6502 cross assembler" short_desc="6502/R65C02/65816 cross-assembler"
maintainer="Duncaen <duncaen@voidlinux.org>" maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
homepage="https://www.floodgap.com/retrotech/xa/" homepage="https://www.floodgap.com/retrotech/xa/"
distfiles="https://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz" distfiles="https://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz"
checksum=8d3097d3b75adf4305d7d5c8e8f2568a7176cb348bcc50006cfc58378540c555 checksum=867b5b26b6524be8bcfbad8820ab3efe422b3e0cc9775dcb743284778868ba78
post_extract() { post_extract() {
sed -i 's/${LD}/${CC}/' src/Makefile vsed -i 's/${LD}/${CC}/' src/Makefile
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile vsed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile
sed -i 's/\($(DESTDIR)\)/\1$(PREFIX)/g' Makefile vsed -i 's/\($(DESTDIR)\)/\1$(PREFIX)/g' Makefile
} }