blob: f9064e4db8bca6965ccd5d0cbf8913be3df5f61b (
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
|
# Contributor: Vojtech Horky <AUR / hotspur>
pkgname=msim-git
pkgver=482a575
pkgrel=1
pkgdesc="Light-weight MIPS R4000 and RISC-V system simulator"
url="https://d3s.mff.cuni.cz/software/msim/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('readline')
makedepends=('imake')
provides=('msim')
conflicts=('msim')
source=("$pkgname"::'git+https://github.com/d-iii-s/msim.git')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
# Use the tag of the last commit
git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}"
make "DESTDIR=${pkgdir}" install
}
|