diff options
author | Daniel Kirchner | 2018-11-10 18:20:13 +0100 |
---|---|---|
committer | Daniel Kirchner | 2018-11-10 18:20:13 +0100 |
commit | c8f127c50e48ce253b9e67eace9d7af12a64d1c4 (patch) | |
tree | e33913b2c17a4b0f23310d557de425d0d42d89e6 /PKGBUILD | |
parent | 03e93236cfca084d16bf65af86eba94965345dfd (diff) | |
download | aur-c8f127c50e48ce253b9e67eace9d7af12a64d1c4.tar.gz |
Version update and general cleanup.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 56 |
1 files changed, 15 insertions, 41 deletions
@@ -1,40 +1,24 @@ -# Maintainer: Afri 5chdn <aur@5chdn.co> -# Available from AUR: https://aur.archlinux.org/packages/solidity-git/ +# Maintainer: Daniel Kirchner <daniel.kirchner@ethereum.org> +# Contributor: Afri 5chdn <aur@5chdn.co> pkgname=solidity-git -pkgver=0.4.14.20170725.cfb11ff7 +pkgver=0.5.0.20181110.9709dfe04 pkgrel=1 -pkgdesc="The Solidity Contract-Oriented Programming Language (Including solc, lllc; from latest unstable git version)" -arch=('i686' 'x86_64') -depends=( - 'boost' - 'boost-libs' - 'glibc' -) -makedepends=( - 'autoconf' - 'automake' - 'cmake' - 'gcc' - 'gcc-libs' - 'libtool' - 'git' +pkgdesc="The Solidity Contract-Oriented Programming Language (latest unstable git version)" +arch=('x86_64') +depends=('gcc-libs' 'boost-libs') +optdepends=( + 'z3: SMTChecker support' + 'cvc4: SMTChecker support' ) +makedepends=('cmake' 'git' 'boost') groups=('ethereum') url="https://github.com/ethereum/solidity" license=('GPL3') source=("${pkgname%-git}::git+https://github.com/ethereum/solidity#branch=develop") sha256sums=('SKIP') -provides=( - 'lll' - 'lllc' - 'liblll' - 'solidity' - 'solc' - 'libsoldevcore' - 'libsolevmasm' - 'libsolidity' -) +provides=('solidity') +conflicts=('solidity') pkgver() { cd ${pkgname%-git} @@ -42,24 +26,14 @@ pkgver() { } build() { - msg 'Updating...' cd ${pkgname%-git} - git submodule update --init --recursive - - msg 'Building...' - mkdir -p build && pushd build - cmake .. -DCMAKE_INSTALL_PREFIX=/usr + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBoost_USE_STATIC_LIBS=OFF -DTESTS=OFF -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 '{}' + } |