summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3321cc586dcd34c9ecdea52f02d0763cddef2e7c (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
# Maintainer: Noel Maersk veox+packages the veox toad pw
# Contributor: Nicola Squartini tensor5 the gmail toad com

pkgname=lll
_reponame=solidity
pkgver=0.6.1
_commit=e6f7d5a49267f30c8dbf3ba2655c72012b5ccaa1
pkgrel=2
pkgdesc='The Lovely Little Language compiler for Ethereum smart contracts'
arch=('x86_64')
url='https://github.com/ethereum/solidity'
license=('GPL3')
depends=('gcc-libs')
makedepends=('boost' 'cmake' 'git')
provides=('lllc')
conflicts=()
source=("git+https://github.com/ethereum/solidity.git#commit=${_commit}")
sha256sums=('SKIP')

build() {
  cd "$srcdir/$_reponame"

  mkdir -p build && cd build
  cmake \
    -DLLL=ON \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DTESTS=OFF \
    ..
  make lllc
}

package() {
  cd "$srcdir/$_reponame/build"

  install -D lllc/lllc "$pkgdir/usr/bin/lllc"
}

# vim:set ts=2 sw=2 et: