Date: Friday, March 29, 2019 @ 14:20:40
Author: arodseth
Revision: 446024
archrelease: copy trunk to community-x86_64
Added:
spike/repos/community-x86_64/PKGBUILD
(from rev 446023, spike/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: spike/repos/community-x86_64/PKGBUILD (from rev 446023,
spike/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-29 14:20:40 UTC (rev 446024)
@@ -0,0 +1,30 @@
+# Maintainer: Alexander F. Rødseth <[email protected]>
+# Contributor: Paulo Matos <[email protected]>
+# Contributor: b4283 <[email protected]>
+
+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: