summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 47f652010508efea61f81522f170018be81dfd88 (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
# Contributor: Vojtech Horky <AUR / hotspur>
# Maintainer: Vojtech Horky <AUR / hotspur>
pkgname=msim
pkgver=2.2.0
pkgrel=1
pkgdesc="Light-weight computer simulator based on MIPS R4000 and RISC-V"
url="https://d3s.mff.cuni.cz/software/msim/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('readline')
makedepends=('imake')
source=("https://github.com/d-iii-s/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('4a9d4649a1eb1b4e640a1659b4e23577')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}
	./configure --prefix=/usr
	make
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}
	make DESTDIR=${pkgdir} install
}