blob: 48ebf0497e5704df11c7078189a83f9235ddea14 (
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
32
33
34
35
36
37
|
# Maintainer: LekKit <github.com/LekKit>
# Intended for staging builds, enables experimental features (USE_NET, etc)
pkgname=rvvm-git
pkgver=0.6_r958.528bfde
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")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
printf "0.6_r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $pkgname
# RVVM build system knows better
unset CFLAGS
unset LDFLAGS
make USE_NET=1 all lib
}
package() {
cd $pkgname
unset CFLAGS
unset LDFLAGS
make USE_NET=1 DESTDIR=$pkgdir PREFIX=/usr install
}
|