summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c7666812bdc0f3b9341e2b1100f8c4a09e7b61b6 (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
# Maintainer: Marenz <aur@supradigital.org>
pkgname=evmone
pkgver=0.4.0
pkgrel=1
pkgdesc="Fast Ethereum Virtual Machine implementation"
arch=('any')
url="https://github.com/ethereum/evmone/"
license=('Apache-2.0')
depends=()
makedepends=('cmake' 'gcc' 'git')
md5sums=('SKIP')

source=(
    "git+https://github.com/ethereum/evmone.git#tag=v$pkgver"
)

build ()
{
	echo $PWD
	cd $pkgname
	git submodule update --init
	mkdir build -p
	cd build
	cmake .. -DEVMONE_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr
	make -j
}

package ()
{
	cd $pkgname/build
	make DESTDIR=$pkgdir prefix=/usr install
}