community/bitcoin to 24.0.1-3

This commit is contained in:
Kevin Mihelich 2022-12-17 23:36:30 +00:00
parent 81c41c93d0
commit e16e26ac0b

View file

@ -10,10 +10,10 @@
pkgbase=bitcoin
pkgname=('bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
pkgver=24.0.1
pkgrel=2
pkgrel=3
arch=('x86_64')
url="https://bitcoin.org/en/wallets/desktop/linux/bitcoincore/"
makedepends=('boost' 'libevent' 'qt5-base' 'qt5-tools' 'qrencode' 'miniupnpc' 'protobuf' 'zeromq')
makedepends=('boost' 'libevent' 'qt5-base' 'qt5-tools' 'qrencode' 'miniupnpc' 'protobuf' 'zeromq' 'db5.3')
license=('MIT')
source=("$pkgbase-$pkgver.tar.gz::https://bitcoincore.org/bin/bitcoin-core-$pkgver/bitcoin-$pkgver.tar.gz"
"$pkgbase-$pkgver.SHA256SUMS::https://bitcoincore.org/bin/bitcoin-core-$pkgver/SHA256SUMS"
@ -50,7 +50,7 @@ prepare() {
build() {
cd $pkgbase-$pkgver
[[ $CARCH == "aarch64" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/-march=armv8-a/-march=armv8-a+crc+crypto/'` && CXXFLAGS="$CFLAGS"
./configure --prefix=/usr --with-gui=qt5 --with-incompatible-bdb LDFLAGS="-ldb_cxx-5.3 $LDFLAGS" CPPFLAGS="-I/usr/include/db5.3/ $CPPFLAGS"
./configure --prefix=/usr --with-gui=qt5 --with-incompatible-bdb BDB_LIBS="-ldb_cxx-5.3" BDB_CFLAGS="-I$/usr/include/db5.3"
make
}