summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiuyang Liu2021-04-10 20:56:51 +0000
committerJiuyang Liu2021-04-10 20:56:51 +0000
commitda56a21463e50fb0ae0711aaeeaaabc505f9be21 (patch)
tree0505b63dab93040db349f9b03db79a80ed93126e
parente7be95e627b6d77f301933d74138357ec14636fe (diff)
downloadaur-spike-git.tar.gz
fix
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e2db590bfd6..46c3a8c42a9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,18 +20,18 @@ md5sums=('SKIP')
noextract=()
pkgver() {
- cd "$srcdir/${pkgname%-git}"
+ cd "$srcdir/riscv-isa-sim"
git submodule update --init --recursive
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd "$srcdir/${pkgname%-git}"
+ cd "$srcdir/riscv-isa-sim"
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/${pkgname%-git}"
+ cd "$srcdir/riscv-isa-sim"
make DESTDIR="$pkgdir/" install
}