summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7cfe040e246533aab4c5f7843e24d9aaa10287b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Marcin Nowak <marcin [dot] j [dot] nowak (at) gmail [dot] com>

pkgname=mads
pkgver=2.1.5
pkgrel=1
pkgdesc="MADS is a multi-pass crossassembler designed for 6502 and 65816 processors"
arch=('x86_64')
url="http://mads.atari8.info/"
source=(
    https://github.com/tebe6502/Mad-Assembler/archive/refs/tags/$pkgver.tar.gz
    )

sha256sums=(
    '78ca9c4ad907362dc1142f4c6116767cc8c2a426044079269652040f01477363'
    )
license=('unknown')
provides=('mads')
depends=('glibc')
makedepends=('fpc')

build() {
  cd "$srcdir/Mad-Assembler-$pkgver"
  fpc -Mdelphi -vh -O3 mads.pas
}

package() {
  cd "$srcdir/Mad-Assembler-$pkgver"

  install -dm755 "$pkgdir/usr/bin"
  install -Dm755 mads "$pkgdir/usr/bin"
}