Date: Saturday, June 20, 2020 @ 08:44:52
  Author: felixonmars
Revision: 648235

archrelease: copy trunk to community-testing-x86_64

Added:
  solidity/repos/community-testing-x86_64/
  solidity/repos/community-testing-x86_64/PKGBUILD
    (from rev 648234, solidity/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: solidity/repos/community-testing-x86_64/PKGBUILD (from rev 648234, 
solidity/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-06-20 08:44:52 UTC (rev 648235)
@@ -0,0 +1,41 @@
+# Maintainer: Nicola Squartini <tens...@gmail.com>
+
+pkgname=solidity
+pkgver=0.6.10
+_commit=00c0fcaffd5717a004d9e8123d95e8eda4d37107
+pkgrel=2
+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}";)
+sha512sums=('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
+}

Reply via email to