[arch-commits] Commit in spike/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Fri May 7 13:55:02 UTC 2021


    Date: Friday, May 7, 2021 @ 13:55:01
  Author: arodseth
Revision: 928604

FS#70600 - apply a patch to make spike build from source again

Modified:
  spike/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-07 13:23:21 UTC (rev 928603)
+++ PKGBUILD	2021-05-07 13:55:01 UTC (rev 928604)
@@ -1,10 +1,11 @@
 # Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: loqs
 # Contributor: Paulo Matos <paulo at matos-sorge.com>
 # Contributor: b4283 <unknown at unknowndomain.com>
 
 pkgname=spike
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Spike, a RISC-V ISA Simulator'
 arch=(x86_64)
 url='https://github.com/riscv/riscv-isa-sim'
@@ -14,9 +15,14 @@
 replaces=(fesvr)
 conflicts=(fesvr)
 makedepends=(git)
-source=("git+https://github.com/riscv/riscv-isa-sim#tag=v$pkgver")
-md5sums=('SKIP')
+source=("git+https://github.com/riscv/riscv-isa-sim#commit=2710fe575e7e6a4e2418224f8d254d5ca31f6c0e")
+b2sums=('SKIP')
 
+prepare() {
+  cd riscv-isa-sim
+  git cherry-pick -n b3855682c2d744c613d2ffd6b53e3f021ecea4f3
+}
+
 build() {
   cd riscv-isa-sim
   ./configure --prefix=/usr
@@ -28,5 +34,3 @@
   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