summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}