New Paste

 

Recent Pastes

Administrate




Pastebin on p.luis.im

PasteID: 2ew
Pasted by Anonymous, 2019-05-04 08:12:23 GMT
Expires Never
Paste size 1.02 Kb
Tools Raw   Download
 
  1. # Maintainer: Luis Aranguren <pizzaman@hotmail.com>  
  2.   
  3. pkgname=blocksci-git  
  4. pkgver=v0.5.1.r13.g891772b  
  5. pkgrel=1  
  6. pkgdesc="a"  
  7. arch=("any")  
  8. url="https://github.com/citp/BlockSci.git"  
  9. license=('MIT')  
  10. depends=('libjson-rpc-cpp-git' 'boost-libs')  
  11. source=("BlockSci::git+https://github.com/citp/BlockSci.git")  
  12. sha256sums=('SKIP')  
  13.   
  14. pkgver() {  
  15.     cd "$srcdir/BlockSci"  
  16.     git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'  
  17. }  
  18.   
  19. prepare() {  
  20.     cd "$srcdir/BlockSci"  
  21. }  
  22.   
  23. build() {  
  24.     cd "$srcdir"/BlockSci  
  25.     mkdir release  
  26.     cd release  
  27.     CC=gcc-7 CXX=g++-7 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib ..  
  28.     make  
  29. }  
  30.   
  31. package() {  
  32.     cd "$srcdir"/BlockSci/release  
  33.     make DESTDIR="$pkgdir/" install  
  34.     cd "$srcdir"/BlockSci  
  35. #    CC=gcc-7 CXX=g++-7 PIP_CONFIG_FILE=/dev/null pip3 install --isolated --root="$pkgdir/" --ignore-installed --no-deps -e blockscipy  
  36.     python blockscipy/setup.py install --root="$pkgdir" --optimize=1 --skip-build  
  37. }  
  38.  
 
 
 
 
Written by Xan Manning, 2010.