New Paste

 

Recent Pastes

Administrate




Pastebin on p.luis.im

PasteID: 61b
Pasted by Anonymous, 2019-07-18 07:41:02 GMT
Expires Never
Paste size 2.99 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=('any') 
  10. url="https://bitcoin.org" 
  11. license=('MIT') 
  12. depends=( 'miniupnpc' 'openssl' 'protobuf') 
  13. makedepends=('qt5-base' 'qt5-tools' 'pkg-config' 'db4.8' 'git' 'boost-libs' 'boost' 'gcc' 'gcc-libs' 'qrencode' 'make' 'automoc4' 'automake' 'autoconf' 'libtool' 'zeromq') 
  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.         'https://raw.githubusercontent.com/bitcoin-core/packaging/master/debian/bitcoin-qt.desktop') 
  19.  
  20. sha256sums=('SKIP' 
  21.             'SKIP' 
  22.             'SKIP') 
  23.  
  24. pkgver() { 
  25.   cd "$srcdir/$_gitname" 
  26.   printf "%s.r%s" "$(git describe --tags $(git rev-list --tags --max-count=1) | sed "s/-/./g")" "$(git rev-list --count HEAD)" 
  27.  
  28. build() { 
  29.   cd "$srcdir/$_gitname" 
  30.   ./autogen.sh 
  31.   ./configure --with-gui=qt5 
  32.    make -j$(nproc) 
  33.  
  34. check() { 
  35.    cd "$srcdir/$_gitname" 
  36. #   make check 
  37.  
  38. package() { 
  39. 	# install bitcoin-qt client 
  40. 	msg2 'Installing bitcoin-qt...' 
  41. 	install -Dm755 "$srcdir/$_gitname/src/qt/bitcoin-qt" "$pkgdir/usr/bin/bitcoin-qt" 
  42. 	install -Dm644 "$srcdir/$_gitname/share/pixmaps/bitcoin128.xpm" "$pkgdir/usr/share/pixmaps/bitcoin128.xpm" 
  43. 	desktop-file-install -m 644 --dir="$pkgdir/usr/share/applications/" "$srcdir/bitcoin-qt.desktop" 
  44. 	 
  45. 	# install bitcoin-daemon 
  46.         msg2 'Installing bitcoin-daemon...' 
  47.         install -Dm755 "$srcdir/$_gitname/src/bitcoind" "$pkgdir/usr/bin/bitcoind" 
  48.         install -Dm644 "$srcdir/packaging/debian/examples/bitcoin.conf" "$pkgdir/usr/share/doc/$pkgname/examples/bitcoin.conf" 
  49.         install -Dm644 "$srcdir/$_gitname/doc/man/bitcoin-cli.1" "$pkgdir/usr/share/man/man1/bitcoin-cli.1" 
  50.         install -Dm644 "$srcdir/$_gitname/doc/man/bitcoin-qt.1" "$pkgdir/usr/share/man/man1/bitcoin-qt.1" 
  51.         install -Dm644 "$srcdir/$_gitname/doc/man/bitcoind.1" "$pkgdir/usr/share/man/man1/bitcoind.1" 
  52.         install -Dm644 "$srcdir/$_gitname/doc/man/bitcoin-tx.1" "$pkgdir/usr/share/man/man1/bitcoin-tx.1" 
  53.  
  54. 	# install bitcoin-cli 
  55. 	msg2 'Installing bitcoin-cli...' 
  56. 	install -Dm755 "$srcdir/$_gitname/src/bitcoin-cli" "$pkgdir/usr/bin/bitcoin-cli" 
  57.  
  58. 	# install bitcoin-tx 
  59. 	msg2 'Installing bitcoin-tx...' 
  60. 	install -Dm755 "$srcdir/$_gitname/src/bitcoin-tx" "$pkgdir/usr/bin/bitcoin-tx" 
  61.  
  62. 	# install license 
  63. 	install -D -m644 "$srcdir/$_gitname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING" 
  64.  
 
 
 
 
Written by Xan Manning, 2010.