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

Nicola Squartini tensor5 at archlinux.org
Fri May 5 10:53:03 UTC 2017


    Date: Friday, May 5, 2017 @ 10:53:02
  Author: tensor5
Revision: 227132

archrelease: copy trunk to community-i686, community-x86_64

Added:
  solidity/repos/community-i686/PKGBUILD
    (from rev 227131, solidity/trunk/PKGBUILD)
  solidity/repos/community-x86_64/PKGBUILD
    (from rev 227131, solidity/trunk/PKGBUILD)
Deleted:
  solidity/repos/community-i686/PKGBUILD
  solidity/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   88 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   39 -------------------
 community-x86_64/PKGBUILD |   39 -------------------
 3 files changed, 88 insertions(+), 78 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-05-05 10:52:34 UTC (rev 227131)
+++ community-i686/PKGBUILD	2017-05-05 10:53:02 UTC (rev 227132)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=solidity
-pkgver=0.4.10
-pkgrel=1
-pkgdesc='Contract-Oriented Programming Language'
-arch=('i686' 'x86_64')
-url='https://github.com/ethereum/solidity'
-license=('GPL3')
-depends=('boost-libs' 'jsoncpp')
-makedepends=('boost' 'cmake')
-source=("${url}/releases/download/v${pkgver}/solidity_${pkgver}.tar.gz")
-sha256sums=('a1103f91d240101a90c9bec5243f2436563d3772c4571a352ea7bc21de8706d1')
-
-prepare() {
-    cd solidity_${pkgver}
-
-    sed -e '/jsoncpp\.cmake/d' -i CMakeLists.txt
-}
-
-build() {
-    cd solidity_${pkgver}
-
-    mkdir build
-    cd build
-    cmake \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DTESTS=OFF \
-        ..
-    make
-}
-
-package() {
-    cd solidity_${pkgver}/build
-
-    make DESTDIR="${pkgdir}" install
-}

Copied: solidity/repos/community-i686/PKGBUILD (from rev 227131, solidity/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-05-05 10:53:02 UTC (rev 227132)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=solidity
+pkgver=0.4.11
+_commit=68ef5810593e7c8092ed41d5f474dd43141624eb
+pkgrel=1
+pkgdesc='Contract-Oriented Programming Language'
+arch=('i686' 'x86_64')
+url='https://github.com/ethereum/solidity'
+license=('GPL3')
+depends=('boost-libs' 'jsoncpp')
+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
+
+    sed -e '/jsoncpp\.cmake/d' -i CMakeLists.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
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-05-05 10:52:34 UTC (rev 227131)
+++ community-x86_64/PKGBUILD	2017-05-05 10:53:02 UTC (rev 227132)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=solidity
-pkgver=0.4.10
-pkgrel=1
-pkgdesc='Contract-Oriented Programming Language'
-arch=('i686' 'x86_64')
-url='https://github.com/ethereum/solidity'
-license=('GPL3')
-depends=('boost-libs' 'jsoncpp')
-makedepends=('boost' 'cmake')
-source=("${url}/releases/download/v${pkgver}/solidity_${pkgver}.tar.gz")
-sha256sums=('a1103f91d240101a90c9bec5243f2436563d3772c4571a352ea7bc21de8706d1')
-
-prepare() {
-    cd solidity_${pkgver}
-
-    sed -e '/jsoncpp\.cmake/d' -i CMakeLists.txt
-}
-
-build() {
-    cd solidity_${pkgver}
-
-    mkdir build
-    cd build
-    cmake \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DTESTS=OFF \
-        ..
-    make
-}
-
-package() {
-    cd solidity_${pkgver}/build
-
-    make DESTDIR="${pkgdir}" install
-}

Copied: solidity/repos/community-x86_64/PKGBUILD (from rev 227131, solidity/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-05-05 10:53:02 UTC (rev 227132)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=solidity
+pkgver=0.4.11
+_commit=68ef5810593e7c8092ed41d5f474dd43141624eb
+pkgrel=1
+pkgdesc='Contract-Oriented Programming Language'
+arch=('i686' 'x86_64')
+url='https://github.com/ethereum/solidity'
+license=('GPL3')
+depends=('boost-libs' 'jsoncpp')
+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
+
+    sed -e '/jsoncpp\.cmake/d' -i CMakeLists.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