[arch-commits] Commit in (5 files)

Alexander Rødseth arodseth at archlinux.org
Fri Mar 29 14:20:26 UTC 2019


    Date: Friday, March 29, 2019 @ 14:20:25
  Author: arodseth
Revision: 446023

Add spike

Added:
  spike/
  spike/repos/
  spike/repos/community-x86_64/
  spike/trunk/
  spike/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: spike/trunk/PKGBUILD
===================================================================
--- spike/trunk/PKGBUILD	                        (rev 0)
+++ spike/trunk/PKGBUILD	2019-03-29 14:20:25 UTC (rev 446023)
@@ -0,0 +1,30 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Paulo Matos <paulo at matos-sorge.com>
+# Contributor: b4283 <unknown at unknowndomain.com>
+
+pkgname=spike
+pkgver=0.0
+pkgrel=1
+pkgdesc='Spike, a RISC-V ISA Simulator'
+arch=(x86_64)
+url='https://github.com/riscv/riscv-isa-sim'
+license=(BSD)
+groups=(risc-v)
+depends=(dtc fesvr)
+makedepends=(git)
+source=('git+https://github.com/riscv/riscv-isa-sim#commit=496c59d064961bb81e')
+md5sums=('SKIP')
+
+build() {
+  cd riscv-isa-sim
+  ./configure --prefix=/usr
+  make LDFLAGS="$LDFLAGS -w -s"
+}
+
+package() {
+  cd riscv-isa-sim
+  make DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list