1 # Maintainer: Chris Brannon <chris@the-brannons.com>
2 # Contributor: Christoph Neuroth <christoph.neuroth@gmx.net>
6 pkgdesc="A straightforward MMIX assembler and simulator"
8 url=http://mmix.cs.hm.edu
9 # The license was taken from src/boilerplate.w.
11 makedepends=(texlive-bin)
12 source=(http://mmix.cs.hm.edu/src/mmix-$pkgver.tar.gz
14 md5sums=('598f28924b6ecf41f2c86d8c6a464e6a'
15 'a2e1fc2dde9b3e6a09f21e1ad65e227f')
16 noextract=("mmix-$pkgver.tar.gz")
23 tar -xzf "../mmix-$pkgver.tar.gz"
24 install -m755 -d "$pkgdir/usr/src/$pkgname"
25 install -m644 * "$pkgdir/usr/src/$pkgname"
26 install -D -m644 ../COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
29 install -m755 -d "$pkgdir/usr/bin/" || return 1
30 install -m755 abstime mmix mmixal mmmix mmotype "$pkgdir/usr/bin/" || return 1