New Paste

 

Recent Pastes

Administrate




Pastebin on p.luis.im

PasteID: 1bh
Pasted by Anonymous, 2019-07-18 17:58:25 GMT
Expires Never
Paste size 2.95 Kb
Tools Raw   Download
 
  1. # Maintainer: Luis Aranguren <pizzaman@hotmail.com> 
  2. # Maintainer: Raansu <Gero3977@gmail.com> 
  3.  
  4. pkgname=bitcoin-git 
  5. _gitname=bitcoin 
  6. pkgver=v0.18.0.r20783 
  7. pkgrel=1 
  8. pkgdesc="Bitcoin is a peer-to-peer network based digital currency. This package provides bitcoin-core binaries: bitcoind, bitcoin-qt, bitcoin-tx, and bitcoin-cli" 
  9. arch=('x86_64') 
  10. url="https://bitcoin.org" 
  11. license=('MIT') 
  12. depends=('qt5-base' 'miniupnpc' 'openssl' 'protobuf' 'boost-libs' 'db4.8' 'qrencode' 'zeromq' 'libevent' 'desktop-file-utils') 
  13. makedepends=('qt5-tools' 'pkg-config' 'git' 'boost' 'gcc' 'gcc-libs' 'make' 'automake' 'autoconf' 'libtool') 
  14. provides=('bitcoin' 'bitcoin-qt' 'bitcoind' 'bitcoin-bin' 'bitcoin-daemon' 'bitcoin-tx' 'bitcoin-cli' 'bitcoin-core') 
  15. conflicts=('bitcoin' 'bitcoin-qt' 'bitcoind' 'bitcoin-bin' 'bitcoin-daemon' 'bitcoin-core' 'bitcoin-core-git' 'bitcoin-cli' 'bitcoin-tx') 
  16. source=('git://github.com/bitcoin/bitcoin.git' 
  17.         'packaging::git://github.com/bitcoin-core/packaging.git') 
  18.  
  19. sha256sums=('SKIP' 
  20.             'SKIP') 
  21.  
  22. pkgver() { 
  23.   cd "$srcdir/$_gitname" 
  24.   printf "%s.r%s" "$(git describe --tags $(git rev-list --tags --max-count=1) | sed "s/-/./g")" "$(git rev-list --count HEAD)" 
  25.  
  26. build() { 
  27.   cd "$srcdir/$_gitname" 
  28.   ./autogen.sh 
  29.   ./configure --with-gui=qt5 --with-zmq --with-qrencode 
  30.    make -j$(nproc) 
  31.  
  32. check() { 
  33.    cd "$srcdir/$_gitname" 
  34.    make check -j$(nproc) 
  35.  
  36. package() { 
  37. 	# install bitcoin-qt client 
  38. 	msg2 'Installing bitcoin-qt...' 
  39. 	install -Dm755 "$srcdir/$_gitname/src/qt/bitcoin-qt" "$pkgdir/usr/bin/bitcoin-qt" 
  40. 	install -Dm644 "$srcdir/$_gitname/share/pixmaps/bitcoin128.xpm" "$pkgdir/usr/share/pixmaps/bitcoin128.xpm" 
  41. 	desktop-file-install -m 644 --dir="$pkgdir/usr/share/applications/" "$srcdir/packaging/debian/bitcoin-qt.desktop" 
  42. 	 
  43. 	# install bitcoin-daemon 
  44.         msg2 'Installing bitcoin-daemon...' 
  45.         install -Dm755 "$srcdir/$_gitname/src/bitcoind" "$pkgdir/usr/bin/bitcoind" 
  46.         install -Dm644 "$srcdir/packaging/debian/examples/bitcoin.conf" "$pkgdir/usr/share/doc/$pkgname/examples/bitcoin.conf" 
  47.         install -Dm644 "$srcdir/$_gitname/doc/man/bitcoin-cli.1" "$pkgdir/usr/share/man/man1/bitcoin-cli.1" 
  48.         install -Dm644 "$srcdir/$_gitname/doc/man/bitcoin-qt.1" "$pkgdir/usr/share/man/man1/bitcoin-qt.1" 
  49.         install -Dm644 "$srcdir/$_gitname/doc/man/bitcoind.1" "$pkgdir/usr/share/man/man1/bitcoind.1" 
  50.         install -Dm644 "$srcdir/$_gitname/doc/man/bitcoin-tx.1" "$pkgdir/usr/share/man/man1/bitcoin-tx.1" 
  51.  
  52. 	# install bitcoin-cli 
  53. 	msg2 'Installing bitcoin-cli...' 
  54. 	install -Dm755 "$srcdir/$_gitname/src/bitcoin-cli" "$pkgdir/usr/bin/bitcoin-cli" 
  55.  
  56. 	# install bitcoin-tx 
  57. 	msg2 'Installing bitcoin-tx...' 
  58. 	install -Dm755 "$srcdir/$_gitname/src/bitcoin-tx" "$pkgdir/usr/bin/bitcoin-tx" 
  59.  
  60. 	# install license 
  61. 	install -D -m644 "$srcdir/$_gitname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING" 
  62.  
 
 
 
 
Written by Xan Manning, 2010.