summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUncle Hunto2017-03-28 13:18:20 -0700
committerUncle Hunto2017-03-28 13:18:20 -0700
commitc25f1c3ab883d80984c794b329767b656ec7dc99 (patch)
tree25b2093b07cf0fa153510e8e0713812c9e5b55c0
downloadaur-c25f1c3ab883d80984c794b329767b656ec7dc99.tar.gz
Initial import
-rw-r--r--.SRCINFO44
-rw-r--r--PKGBUILD47
-rw-r--r--bitcoin-qt.install11
3 files changed, 102 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..22b70a35e51
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,44 @@
+# Generated by mksrcinfo v8
+# Tue Mar 28 20:12:39 UTC 2017
+pkgbase = bitcoin-uasf-git
+ pkgdesc = EXPERIMENTAL! Signal support for BIP148, a User Activated Soft Fork (USAF) activating segwit
+ pkgver = v0.14.0.uasfsegwit.r2.g209ecd8cd
+ pkgrel = 1
+ url = https://github.com/UASF/bitcoin
+ install = bitcoin-qt.install
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ makedepends = boost
+ makedepends = libevent
+ makedepends = qt5-base
+ makedepends = qt5-tools
+ makedepends = qrencode
+ makedepends = protobuf
+ makedepends = zeromq
+ depends = boost-libs
+ depends = desktop-file-utils
+ depends = libevent
+ depends = protobuf
+ depends = qrencode
+ depends = qt5-base
+ depends = zeromq
+ optdepends = db4.8: Wallet portability/compatibility w/official binaries
+ provides = bitcoin-daemon
+ provides = bitcoin-cli
+ provides = bitcoin-qt
+ provides = bitcoin-tx
+ conflicts = bitcoin-daemon
+ conflicts = bitcoin-cli
+ conflicts = bitcoin-qt
+ conflicts = bitcoin-tx
+ source = git+https://github.com/UASF/bitcoin.git#branch=0.14
+ source = bitcoin-qt.install
+ sha256sums = SKIP
+ sha256sums = ebf7090ca1202e2c2ccd1aa5bb03e6ac911c458141a1cedda9b41f9c26c2602c
+ sha512sums = SKIP
+ sha512sums = 67383fa1dd2f9576cc3c282f3a9b8c5f2d3eaa13799a6a7eb9eb2969face0ddaf6bb82c286c928b89397d8d2c9ba2efe9a603442f4bf6ed6d89ae9323c169375
+
+pkgname = bitcoin-uasf-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aa306dbbad8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Uncle Hunto <unclehunto äτ ÝãΗ00 Ð0τ ÇÖΜ>
+
+pkgname=bitcoin-uasf-git
+pkgver=v0.14.0.uasfsegwit1.1.r0.g3186dc817
+pkgrel=1
+pkgdesc='EXPERIMENTAL! Signal support for BIP148, a User Activated Soft Fork (USAF) activating segwit'
+arch=('i686' 'x86_64')
+url="https://github.com/UASF/bitcoin"
+license=('MIT')
+depends=('boost-libs' 'desktop-file-utils' 'libevent' 'protobuf' 'qrencode' 'qt5-base' 'zeromq')
+makedepends=('git' 'boost' 'libevent' 'qt5-base' 'qt5-tools' 'qrencode' 'protobuf' 'zeromq')
+optdepends=('db4.8: Wallet portability/compatibility w/official binaries')
+provides=('bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
+conflicts=('bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
+install=bitcoin-qt.install
+source=("git+${url}.git#branch=0.14"
+ 'bitcoin-qt.install')
+sha256sums=('SKIP'
+ 'ebf7090ca1202e2c2ccd1aa5bb03e6ac911c458141a1cedda9b41f9c26c2602c')
+sha512sums=('SKIP'
+ '67383fa1dd2f9576cc3c282f3a9b8c5f2d3eaa13799a6a7eb9eb2969face0ddaf6bb82c286c928b89397d8d2c9ba2efe9a603442f4bf6ed6d89ae9323c169375')
+
+pkgver() {
+ cd "$srcdir/bitcoin"
+git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/bitcoin"
+ msg2 'Building...'
+ CXXFLAGS="$CXXFLAGS -DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT=1"
+ ./autogen.sh
+ ./configure --prefix=/usr --with-incompatible-bdb --with-gui=qt5 --without-miniupnpc
+ make -j$(nproc) check
+}
+
+package() {
+ cd "$srcdir/bitcoin"
+ make install DESTDIR="$pkgdir"
+ install -Dm644 "$srcdir/bitcoin/share/pixmaps/bitcoin128.png"\
+ "$pkgdir/usr/share/pixmaps/bitcoin128.png"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ cp "$srcdir/bitcoin/contrib/debian/bitcoin-qt.desktop" "$srcdir/bitcoin/bitcoin.desktop"
+ desktop-file-install -m 644 --dir="$pkgdir/usr/share/applications/" "bitcoin.desktop"
+ install -Dm644 "$srcdir/bitcoin/contrib/debian/examples/bitcoin.conf"\
+ "$pkgdir/usr/share/doc/$pkgname/examples/bitcoin.conf"
+}
diff --git a/bitcoin-qt.install b/bitcoin-qt.install
new file mode 100644
index 00000000000..f98ba733893
--- /dev/null
+++ b/bitcoin-qt.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}