summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Palencia2020-01-24 15:36:14 -0500
committerMiguel Palencia2020-01-24 15:36:14 -0500
commit631858fa02286fca1d03180ec780495807dc768d (patch)
tree815fea5bca3b123952c0d41d72c40a8aebe818f3
downloadaur-631858fa02286fca1d03180ec780495807dc768d.tar.gz
qtum core build for aarch64
-rw-r--r--.SRCINFO35
-rw-r--r--PKGBUILD57
2 files changed, 92 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..688a426c838
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,35 @@
+pkgbase = qtum-core
+ pkgdesc = Qtum Core is a Smart Contracts blockchain platform which makes use of UTXO and Proof of Stake.
+ pkgver = 0.18.3
+ pkgrel = 1
+ url = https://qtum.org
+ arch = aarch64
+ license = MIT
+ makedepends = boost
+ makedepends = qt5-tools
+ makedepends = miniupnpc
+ makedepends = qrencode
+ makedepends = zeromq
+ makedepends = git
+ depends = boost-libs
+ depends = libevent
+ depends = desktop-file-utils
+ depends = qt5-base
+ depends = protobuf
+ depends = openssl
+ depends = miniupnpc
+ depends = zeromq
+ depends = qrencode
+ provides = qtum-cli
+ provides = qtum-daemon
+ provides = qtum-tx
+ provides = qtum-qt
+ conflicts = qtum-cli
+ conflicts = qtum-daemon
+ conflicts = qtum-tx
+ conflicts = qtum-qt
+ source = https://github.com/qtumproject/qtum/archive/mainnet-ignition-v0.18.3.tar.gz
+ sha256sums = f23e8ceb9bfc2473b25341e4c19cc09a5250b8a50d1aaf3b5a3a19862a7c1780
+
+pkgname = qtum-core
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d14bbf73eff
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,57 @@
+# Maintainer: Miguel Palencia <mike@qtum.org>
+
+pkgname=qtum-core
+pkgver=0.18.3
+pkgrel=1
+pkgdesc="Qtum Core is a Smart Contracts blockchain platform which makes use of UTXO and Proof of Stake."
+arch=('aarch64')
+url="https://qtum.org"
+depends=('boost-libs' 'libevent' 'desktop-file-utils' 'qt5-base' 'protobuf' 'openssl' 'miniupnpc' 'zeromq' 'qrencode')
+makedepends=('boost' 'qt5-tools' 'miniupnpc' 'qrencode' 'zeromq' 'git')
+license=('MIT')
+source=(https://github.com/qtumproject/qtum/archive/mainnet-ignition-v$pkgver.tar.gz )
+sha256sums=('f23e8ceb9bfc2473b25341e4c19cc09a5250b8a50d1aaf3b5a3a19862a7c1780')
+provides=('qtum-cli' 'qtum-daemon' 'qtum-tx' 'qtum-qt')
+conflicts=('qtum-cli' 'qtum-daemon' 'qtum-tx' 'qtum-qt')
+
+build() {
+ cd "$srcdir/qtum-mainnet-ignition-v$pkgver"
+ git clone --recursive https://github.com/qtumproject/cpp-eth-qtum.git src/cpp-ethereum
+
+ make -C depends
+DEPENDS="$srcdir/qtum-mainnet-ignition-v$pkgver/depends/x86_64-pc-linux-gnu"
+
+ ./autogen.sh
+ ./configure --prefix=$DEPENDS \
+
+ make
+
+
+}
+
+package() {
+
+ cd "$srcdir/qtum-mainnet-ignition-v$pkgver"
+ sed -i -e 's/Bitcoin/Qtum/g' contrib/debian/qtum-qt.desktop
+ install -Dm755 src/qt/qtum-qt "$pkgdir"/usr/bin/qtum-qt
+ install -Dm755 src/qtumd "$pkgdir"/usr/bin/qtumd
+ install -Dm755 src/qtum-cli "$pkgdir"/usr/bin/qtum-cli
+ install -Dm755 src/qtum-wallet "$pkgdir"/usr/bin/qtum-wallet
+ install -Dm755 src/qtum-tx "$pkgdir"/usr/bin/qtum-tx
+
+
+
+
+ install -Dm644 contrib/debian/qtum-qt.desktop \
+ "$pkgdir"/usr/share/applications/qtum.desktop
+ install -Dm644 share/pixmaps/bitcoin128.png \
+ "$pkgdir"/usr/share/pixmaps/qtum128.png
+ install -Dm644 contrib/debian/qtum-qt-testnet.desktop \
+ "$pkgdir"/usr/share/applications/qtum-testnet.desktop
+ install -Dm644 share/pixmaps/qtumtestnet128.png \
+ "$pkgdir"/usr/share/pixmaps/qtumtestnet128.png
+
+}
+
+
+