# Description: A high-speed, two-pass portable cross-assembler. It understands mnemonics and generates code for NMOS 6502s (such as 6502A, 6504, 6507, 6510, 7501, 8500, 8501, 8502 ...), CMOS 6502s (65C02 and Rockwell R65C02) and the 65816.
# Maintainer: Matt Housh, jaeger at crux dot ninja
# URL: https://www.floodgap.com/retrotech/xa/

name=xa
version=2.4.1
release=1
source=(https://www.floodgap.com/retrotech/xa/dists/$name-$version.tar.gz)

build() {
  cd $name-$version
  make
  sed -i -e 's,^install:.*,install: xa uncpk,g' Makefile
  make DESTDIR=$PKG install
}
