void-packages/srcpkgs/fasm/template
howtologinquickwiththirtyninecharacters b7c29880a3 fasm: update to 1.73.23.
2020-04-11 08:21:13 +02:00

34 lines
712 B
Bash

# Template file for 'fasm'
pkgname=fasm
version=1.73.23
revision=1
archs="i686* x86_64*"
wrksrc=fasm
short_desc="Fast assembler for the x86 and x86-64 architectures"
maintainer="Dmitry Bogatov <KAction@disroot.org>"
license="BSD-2-Clause"
homepage="https://flatassembler.net"
distfiles="https://flatassembler.net/fasm-${version}.tgz"
checksum=d250e63cf8b7aa17f0b6c71ab74b673ed04d296b4bbad8ba32bc3b8b35d1f0dc
nostrip=yes
case ${XBPS_TARGET_MACHINE} in
i686*)
_fasm=./fasm
_source='source/Linux/fasm.asm'
;;
x86_64*)
_fasm=./fasm.x64
_source='source/Linux/x64/fasm.asm'
;;
esac
do_build() {
${_fasm} ${_source} fasm.out
}
do_install() {
vbin fasm.out fasm
vdoc fasm.txt
vlicense license.txt
}