blob: 97542c3fbe57f010c6d4ace877a0e0a0c6260e83 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
# Maintainer: Afri 5chdn <aur@cach.co>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=ethereum
pkgver=1.2.9
pkgrel=2
pkgdesc="Ethereum decentralised consensus-based deterministic transaction resolution platform (C++ toolkit, full webthree-umbrella)"
arch=('i686' 'x86_64')
depends=(
'argtable'
'boost'
'boost-libs'
'curl'
'crypto++'
'gmp'
'jsoncpp'
'leveldb'
'libedit'
'libjson-rpc-cpp-git'
'libmicrohttpd'
'miniupnpc'
'ncurses'
'ocl-icd'
'opencl-headers'
'openssl'
'python2'
'qt5-base'
'qt5-declarative'
'qt5-webengine'
'readline'
'snappy'
'gperftools'
)
makedepends=(
'autoconf'
'automake'
'cmake'
'gcc'
'libtool'
'git'
)
groups=('ethereum')
url="https://github.com/ethereum/webthree-umbrella"
license=('GPL')
source=(
"${pkgname%-git}::git+https://github.com/ethereum/webthree-umbrella"
)
sha256sums=(
'SKIP'
)
provides=(
'alethzero'
'bench'
'eth'
'ethkey'
'ethminer'
'ethrpctest'
'ethvm'
'lllc'
'mix-ide'
'rlp'
'solc'
)
conflicts=(
'cpp-ethereum'
'solidity'
'solidity-git'
'ethereum-git'
)
build() {
msg 'Updating...'
cd ${pkgname%-git}
git checkout release
git pull
git checkout v$pkgver
git submodule update --init --recursive
msg 'Building...'
mkdir -p build && pushd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
popd
}
package() {
cd ${pkgname%-git}
msg 'Installing...'
make DESTDIR="$pkgdir" install -C build
msg 'Cleaning up pkgdir...'
find "$pkgdir" -type d -name .git -exec rm -r '{}' +
find "$pkgdir" -type f -name .gitignore -exec rm -r '{}' +
}
|