summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 354862a9c52a262165c518d2f2cad05ba9ee6d46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: LekKit <github.com/LekKit>

pkgname=rvvm
pkgver=0.6
pkgrel=1
pkgdesc="The RISC-V Virtual Machine"
arch=('x86_64' 'aarch64' 'riscv64' 'riscv' 'ppc' 'i386' 'i686' 'pentium4' 'arm' 'armv7h' 'armv6h')
url="https://github.com/LekKit/RVVM/"
options=(!strip staticlibs)
license=('GPL3')
depends=('libx11' 'libxext')
makedepends=('git' 'make' 'gcc')
provides=('rvvm' 'librvvm')
conflicts=('rvvm' 'librvvm')
source=("$pkgname::git+https://github.com/LekKit/RVVM.git#tag=v0.6")
sha256sums=('SKIP')

build() {
    cd $pkgname
    # RVVM build system knows better
    unset CFLAGS
    unset LDFLAGS
    make all lib
}

package() {
    cd $pkgname
    unset CFLAGS
    unset LDFLAGS
    make DESTDIR=$pkgdir PREFIX=/usr install
}