[arch-commits] Commit in solidity/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Mar 1 14:20:41 UTC 2020


    Date: Sunday, March 1, 2020 @ 14:20:40
  Author: felixonmars
Revision: 587523

archrelease: copy trunk to community-staging-x86_64

Added:
  solidity/repos/community-staging-x86_64/
  solidity/repos/community-staging-x86_64/PKGBUILD
    (from rev 587521, solidity/trunk/PKGBUILD)

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

Copied: solidity/repos/community-staging-x86_64/PKGBUILD (from rev 587521, solidity/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-03-01 14:20:40 UTC (rev 587523)
@@ -0,0 +1,41 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=solidity
+pkgver=0.6.3
+_commit=8dda95210836cd34c3826c5069e38059a665d18d
+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
+}



More information about the arch-commits mailing list