summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9eae7ecbad5f4d6da0f669ae4b8e26d4c66cbcfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Daniel Nagy <danielnagy at gmx de>

pkgname=libbitcoin
pkgver=2.11.0
pkgrel=1
pkgdesc="asynchronous C++ library for Bitcoin"
arch=('i686' 'x86_64')
url="https://github.com/libbitcoin/libbitcoin/"
license=('AGPL')
depends=('boost' 'openssl' 'curl' 'icu')
# currently we need the git version of this library because the non-git version
# does not package the pkg-config file which this package expects
depends+=('secp256k1-git')
makedepends=()
source=( "$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz" )
sha256sums=('5e17044108ee89d73f8277f056b2adc979a4f9767ca553ee7244bf394295edd2')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  autoreconf -i
  ./configure --prefix="/usr/" --with-icu
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}