From 6ce18840b8d8d59028a0468887e9f13ad36a4738 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Mon, 25 Mar 2019 12:58:05 +0100 Subject: [PATCH] xa: update to 2.3.9. --- srcpkgs/xa/template | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/srcpkgs/xa/template b/srcpkgs/xa/template index 3ea5e98067..b82eefe775 100644 --- a/srcpkgs/xa/template +++ b/srcpkgs/xa/template @@ -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 " -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 }