Date: Wednesday, December 18, 2019 @ 02:03:46 Author: tensor5 Revision: 538006
archrelease: copy trunk to community-x86_64 Added: solidity/repos/community-x86_64/PKGBUILD (from rev 538005, solidity/trunk/PKGBUILD) Deleted: solidity/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 85 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 41 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-18 02:03:18 UTC (rev 538005) +++ PKGBUILD 2019-12-18 02:03:46 UTC (rev 538006) @@ -1,44 +0,0 @@ -# Maintainer: Nicola Squartini <tens...@gmail.com> - -pkgname=solidity -pkgver=0.5.14 -_commit=01f1aaa4c73cd705934a7d769d719ccfc561dd12 -pkgrel=1 -pkgdesc='Contract-Oriented Programming Language' -arch=('x86_64') -url='https://github.com/ethereum/solidity' -license=('GPL3') -depends=('gcc-libs') -makedepends=('boost' 'cmake' 'git') -source=("git+https://github.com/ethereum/solidity.git#commit=${_commit}") -sha256sums=('SKIP') - -prepare() { - cd ${pkgname} - - commithash=$(git rev-parse --short=8 HEAD) - echo -n ${commithash} > commit_hash.txt - echo -n > prerelease.txt - - # Fix for GCC 8 - sed -e '/add_compile_options(-Wall)/d' -i cmake/EthCompilerSettings.cmake -} - -build() { - cd ${pkgname} - - mkdir build - cd build - cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DTESTS=OFF \ - .. - make -} - -package() { - cd ${pkgname}/build - - make DESTDIR="${pkgdir}" install -} Copied: solidity/repos/community-x86_64/PKGBUILD (from rev 538005, solidity/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-18 02:03:46 UTC (rev 538006) @@ -0,0 +1,41 @@ +# Maintainer: Nicola Squartini <tens...@gmail.com> + +pkgname=solidity +pkgver=0.6.0 +_commit=26b700771e9cc9c956f0503a05de69a1be427963 +pkgrel=1 +pkgdesc='Contract-Oriented Programming Language' +arch=('x86_64') +url='https://github.com/ethereum/solidity' +license=('GPL3') +depends=('cvc4' 'z3') +makedepends=('boost' 'cmake' 'git') +source=("git+https://github.com/ethereum/solidity.git#commit=${_commit}") +sha256sums=('SKIP') + +prepare() { + cd ${pkgname} + + commithash=$(git rev-parse --short=8 HEAD) + echo -n ${commithash} > commit_hash.txt + echo -n > prerelease.txt +} + +build() { + cd ${pkgname} + + mkdir build + cd build + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DTESTS=OFF \ + .. + make +} + +package() { + cd ${pkgname}/build + + make DESTDIR="${pkgdir}" install +}