summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2fb9aa919bb0c6acd6f877057318ce73f52f9817 (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
# Maintainer: Marenz <aur@supradigital.org>
# Maintainer: Kamil ƚliwak <cameel2+aur/at/gmail/com>

pkgname=evmone
pkgver=0.12.0
pkgrel=1
pkgdesc="Fast Ethereum Virtual Machine implementation"
arch=('any')
url="https://github.com/ethereum/evmone/"
license=('Apache')
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
}

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