Date: Friday, January 13, 2017 @ 15:17:08
  Author: tensor5
Revision: 207217

upgpkg: solidity 0.4.8-1

Modified:
  solidity/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-01-13 15:16:06 UTC (rev 207216)
+++ PKGBUILD    2017-01-13 15:17:08 UTC (rev 207217)
@@ -2,37 +2,38 @@
 # Maintainer: Nicola Squartini <tens...@gmail.com>
 
 pkgname=solidity
-pkgver=0.4.7
-pkgrel=2
+pkgver=0.4.8
+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#tag=v${pkgver}";)
-sha256sums=('SKIP')
+makedepends=('boost' 'cmake')
+source=("${url}/releases/download/v${pkgver}/solidity_${pkgver}.tar.gz")
+sha256sums=('429c7c46fad256b714a25891dccbbeb90d3dfcdf431706b5816832374c094318')
 
 prepare() {
-    cd ${pkgname}
-    
+    cd solidity_${pkgver}
+
     sed -e '/jsoncpp\.cmake/d' -i CMakeLists.txt
 }
 
 build() {
-    cd ${pkgname}
-    
+    cd solidity_${pkgver}
+
     mkdir build
     cd build
     cmake \
         -DCMAKE_BUILD_TYPE=Release \
         -DCMAKE_INSTALL_PREFIX=/usr \
+        -DTESTS=OFF \
         ..
     make
 }
 
 package() {
-    cd ${pkgname}/build
-    
+    cd solidity_${pkgver}/build
+
     make DESTDIR="${pkgdir}" install
 }

Reply via email to