summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Baumann2019-08-12 19:42:02 +0200
committerMathias Baumann2019-08-12 19:42:02 +0200
commit4705b279d360ad07b6030fbbbbeaee9f52d02288 (patch)
tree64df77f1850e37da5ecaaf840879b44cf594208d
downloadaur-4705b279d360ad07b6030fbbbbeaee9f52d02288.tar.gz
Initial commit for evmone build
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD32
3 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..db838a2edfb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = evmone
+ pkgdesc = Fast Ethereum Virtual Machine implementation
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/sociomantic-tsunami/git-hub
+ arch = any
+ license = Apache-2.0
+ makedepends = cmake
+ makedepends = gcc
+ source = https://github.com/ethereum/evmone/archive/v0.1.0.tar.gz
+ md5sums = aa6fcd65396fa0bff5c3ecc1e94b445e
+
+pkgname = evmone
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e80845139f5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+src
+pkg
+evmone
+evmone-*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..79eb8603a56
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Marenz <aur@supradigital.org>
+pkgname=evmone
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="Fast Ethereum Virtual Machine implementation"
+arch=('any')
+url="https://github.com/sociomantic-tsunami/git-hub"
+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
+}