summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Vitor de Lima Matos2017-03-16 16:54:02 -0300
committerAndré Vitor de Lima Matos2017-03-16 16:54:02 -0300
commit5ffb97ac28c76b3ef8893c3914c313f4a3073ede (patch)
tree7e7d330ac24dc4a066a8a71e0982503693920976
downloadaur-5ffb97ac28c76b3ef8893c3914c313f4a3073ede.tar.gz
Initial commit
v. 1.0.1.1
-rw-r--r--.SRCINFO38
-rw-r--r--PKGBUILD68
2 files changed, 106 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..baf87050fbc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,38 @@
+pkgbase = bitcoin-unlimited
+ pkgdesc = Bitcoin Unlimited versions of Bitcoind, bitcoin-cli, bitcoin-tx, and bitcoin-qt, w/GUI and wallet
+ pkgver = 1.0.1.1
+ pkgrel = 1
+ url = http://www.bitcoinunlimited.info
+ arch = i686
+ arch = x86_64
+ arch = armv7h
+ license = MIT
+ makedepends = boost
+ makedepends = libevent
+ makedepends = qt5-base
+ makedepends = qt5-tools
+ makedepends = qrencode
+ makedepends = protobuf
+ depends = boost-libs
+ depends = desktop-file-utils
+ depends = libevent
+ depends = qt5-base
+ depends = protobuf
+ depends = qrencode
+ depends = openssl
+ depends = miniupnpc
+ provides = bitcoin-unlimited-git
+ provides = bitcoin-daemon
+ provides = bitcoin-cli
+ provides = bitcoin-qt
+ provides = bitcoin-tx
+ conflicts = bitcoin-unlimited-git
+ conflicts = bitcoin-daemon
+ conflicts = bitcoin-cli
+ conflicts = bitcoin-qt
+ conflicts = bitcoin-tx
+ source = git+https://github.com/BitcoinUnlimited/BitcoinUnlimited.git
+ sha256sums = SKIP
+
+pkgname = bitcoin-unlimited
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3fc258254db
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,68 @@
+# Maintainer: André Vitor de Lima Matos <andre.vmatos at gmail.com>
+# Contributor: redfish <redfish at galactica.pw>
+# Contributor: Uncle Hunto <unclehunto äτ ÝãΗ00 Ð0τ ÇÖΜ>
+
+pkgname=bitcoin-unlimited
+_pkgbase=BitcoinUnlimited
+pkgver=1.0.1.1
+pkgrel=1
+pkgdesc='Bitcoin Unlimited versions of Bitcoind, bitcoin-cli, bitcoin-tx, and bitcoin-qt, w/GUI and wallet'
+arch=('i686' 'x86_64' 'armv7h')
+url="http://www.bitcoinunlimited.info"
+license=('MIT')
+depends=('boost-libs' 'desktop-file-utils' 'libevent' 'qt5-base' 'protobuf' 'qrencode' 'openssl' 'miniupnpc')
+makedepends=('boost' 'libevent' 'qt5-base' 'qt5-tools' 'qrencode' 'protobuf')
+provides=('bitcoin-unlimited-git' 'bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
+conflicts=('bitcoin-unlimited-git' 'bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
+source=('git+https://github.com/BitcoinUnlimited/BitcoinUnlimited.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgbase"
+
+ # version based on last tag
+ # avoid rebuilding (same version) if last tag hasn't changed
+ git describe --long --tags | sed "s/^\([^-]\+\).*-\([^-]\+\)$/\1/"
+}
+
+build() {
+ cd "$srcdir/$_pkgbase"
+
+ ./autogen.sh
+ ./configure --prefix=/usr --with-incompatible-bdb --with-gui=qt5
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgbase"
+
+ msg2 'Installing bitcoin-qt...'
+ install -Dm755 "src/qt/bitcoin-qt" "$pkgdir/usr/bin/bitcoin-qt"
+ install -Dm644 "contrib/debian/bitcoin-qt.desktop" \
+ "$pkgdir/usr/share/applications/bitcoin.desktop"
+ install -Dm644 "share/pixmaps/bitcoin128.png"\
+ "$pkgdir/usr/share/pixmaps/bitcoin128.png"
+ install -Dm644 "contrib/debian/manpages/bitcoin-qt.1" \
+ "$pkgdir/usr/share/man/man1/bitcoin-qt.1"
+
+ msg2 'Installing bitcoin-daemon...'
+ install -Dm755 "src/bitcoind" "$pkgdir/usr/bin/bitcoind"
+ install -Dm644 "contrib/debian/examples/bitcoin.conf"\
+ "$pkgdir/usr/share/doc/$pkgname/examples/bitcoin.conf"
+ install -Dm644 "contrib/debian/manpages/bitcoind.1"\
+ "$pkgdir/usr/share/man/man1/bitcoind.1"
+ install -Dm644 "contrib/debian/manpages/bitcoin.conf.5"\
+ "$pkgdir/usr/share/man/man5/bitcoin.conf.5"
+
+ msg2 'Installing bitcoin-cli...'
+ install -Dm755 "src/bitcoin-cli" "$pkgdir/usr/bin/bitcoin-cli"
+ install -Dm644 "contrib/debian/manpages/bitcoin-cli.1" \
+ "$pkgdir/usr/share/man/man1/bitcoin-cli.1"
+
+ msg2 'Installing bitcoin-tx...'
+ install -Dm755 "src/bitcoin-tx" "$pkgdir/usr/bin/bitcoin-tx"
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et: