xa: update to 2.3.9.

This commit is contained in:
Duncaen 2019-03-25 12:58:05 +01:00
parent aefb04db1c
commit 6ce18840b8

View file

@ -1,20 +1,19 @@
# Template file for 'xa'
pkgname=xa
version=2.3.8
version=2.3.9
revision=1
build_style=gnu-makefile
make_check_target="test"
checkdepends="perl"
short_desc="6502 cross assembler"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2"
homepage="http://www.floodgap.com/retrotech/xa/"
distfiles="http://www.floodgap.com/retrotech/xa/dists/xa-${version}.tar.gz"
checksum=3b97d2fe8891336676ca28ff127b69e997f0b5accf2c7009b4517496929b462a
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=8d3097d3b75adf4305d7d5c8e8f2568a7176cb348bcc50006cfc58378540c555
post_extract() {
sed -i 's/${LD}/${CC}/' src/Makefile
sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' misc/Makefile
}
do_build() {
make CC=$CC LD=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
do_install() {
make DESTDIR="$DESTDIR/usr" install
sed -i 's/\($(DESTDIR)\)/\1$(PREFIX)/g' Makefile
}