summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Weiss2017-05-30 07:14:05 -0700
committerMaximilian Weiss2017-05-30 07:14:05 -0700
commit70bfed513f9f2d1392c91fbc55135fe949612d0a (patch)
tree960defe837dbbecaaf162e872926cd232c3b422b
downloadaur-70bfed513f9f2d1392c91fbc55135fe949612d0a.tar.gz
Initial commit
-rw-r--r--.SRCINFO39
-rw-r--r--PKGBUILD56
-rw-r--r--bitcoin.desktop13
3 files changed, 108 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..af9ed4d20cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,39 @@
+pkgbase = bitcoin-segwit2x-git
+ pkgdesc = The "official" segwit2x software representing the New York scaling agreement, a.k.a. the Silbert agreement
+ pkgver = v0.14.1.6.g20aa12154
+ pkgrel = 1
+ url = https://github.com/btc1/bitcoin/tree/segwit2x
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = desktop-file-utils
+ depends = openssl
+ depends = db4.8
+ depends = boost
+ depends = boost-libs
+ depends = libevent
+ depends = qt5-base
+ depends = qt5-tools
+ depends = qrencode
+ depends = miniupnpc
+ depends = protobuf
+ depends = zeromq
+ provides = bitcoin-segwit2x-git
+ provides = bitcoin
+ provides = bitcoin-daemon
+ provides = bitcoin-cli
+ provides = bitcoin-qt
+ provides = bitcoin-tx
+ conflicts = bitcoin-segwit2x-git
+ conflicts = bitcoin
+ conflicts = bitcoin-daemon
+ conflicts = bitcoin-cli
+ conflicts = bitcoin-qt
+ conflicts = bitcoin-tx
+ source = git://github.com/btc1/bitcoin
+ source = bitcoin.desktop
+ sha256sums = SKIP
+ sha256sums = 2ea956c824ec4b5a4d3d433f52516655be077304dcd33c594e0a1a0b0f9e256c
+
+pkgname = bitcoin-segwit2x-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..be056967974
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Maximilian Weiss <$(echo "bWF4QG1heHdlaXNzLmlv" | base64 -d)>
+# Contributor: Barry Silbert
+# Contributor: Mike Belshe
+# Contributor: Jeff Garzik
+# Contributor: Gavin Andresen
+# Contributor: Attendees and Signatories of the Bitcoin Scaling Agreement at Consensus
+# Contributor: The Bitcoin Core Developers
+
+
+pkgname=bitcoin-segwit2x-git
+pkgver=v0.14.1.6.g20aa12154
+pkgrel=1
+
+pkgdesc='The "official" segwit2x software representing the New York scaling agreement, a.k.a. the Silbert agreement'
+arch=('i686' 'x86_64')
+url='https://github.com/btc1/bitcoin/tree/segwit2x'
+license=('MIT')
+depends=('desktop-file-utils' 'openssl' 'db4.8' 'boost' 'boost-libs' 'libevent' 'qt5-base' 'qt5-tools' 'qrencode' 'miniupnpc' 'protobuf' 'zeromq')
+provides=('bitcoin-segwit2x-git' 'bitcoin' 'bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
+conflicts=('bitcoin-segwit2x-git' 'bitcoin' 'bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
+source=('git://github.com/btc1/bitcoin'
+ 'bitcoin.desktop')
+sha256sums=('SKIP'
+ '2ea956c824ec4b5a4d3d433f52516655be077304dcd33c594e0a1a0b0f9e256c')
+
+pkgver() {
+ cd "$srcdir/bitcoin/"
+ git checkout segwit2x > /dev/null 2>&1
+ git reset --hard HEAD > /dev/null 2>&1
+ git describe --long | sed 's/-/./g'
+}
+
+build() {
+ cd "$srcdir/bitcoin/"
+ git checkout segwit2x > /dev/null 2>&1
+ git reset --hard HEAD > /dev/null 2>&1
+ ./autogen.sh
+ ./configure --prefix=/usr --enable-upnp-default --enable-hardening --with-gui=qt5
+ make
+}
+
+package() {
+ cd "$srcdir/"
+ install -Dm755 "bitcoin/src/qt/bitcoin-qt" "$pkgdir/usr/bin/bitcoin-qt"
+ install -Dm644 "bitcoin/share/pixmaps/bitcoin128.png" "$pkgdir/usr/share/pixmaps/bitcoin128.png"
+ install -Dm644 "bitcoin.desktop" "$pkgdir/usr/share/applications/bitcoin.desktop"
+ install -Dm644 "bitcoin/doc/man/bitcoin-qt.1" "$pkgdir/usr/share/man/man1/bitcoin-qt.1"
+ install -Dm755 "bitcoin/src/bitcoind" "$pkgdir/usr/bin/bitcoind"
+ install -Dm644 "bitcoin/contrib/debian/examples/bitcoin.conf" "$pkgdir/usr/share/doc/bitcoin/examples/bitcoin.conf"
+ install -Dm644 "bitcoin/doc/man/bitcoind.1" "$pkgdir/usr/share/man/man1/bitcoind.1"
+ install -Dm755 "bitcoin/src/bitcoin-cli" "$pkgdir/usr/bin/bitcoin-cli"
+ install -Dm644 "bitcoin/doc/man/bitcoin-cli.1" "$pkgdir/usr/share/man/man1/bitcoin-cli.1"
+ install -Dm755 "bitcoin/src/bitcoin-tx" "$pkgdir/usr/bin/bitcoin-tx"
+ install -Dm644 "bitcoin/doc/man/bitcoin-tx.1" "$pkgdir/usr/share/man/man1/bitcoin-tx.1"
+ install -Dm644 "bitcoin/COPYING" "$pkgdir/usr/share/licenses/bitcoin/COPYING"
+}
diff --git a/bitcoin.desktop b/bitcoin.desktop
new file mode 100644
index 00000000000..0c3ae4bcc7c
--- /dev/null
+++ b/bitcoin.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Bitcoin Core (Segwit2x)
+Comment=Connect to the Bitcoin P2P Network
+Comment[de]=Verbinde mit dem Bitcoin peer-to-peer Netzwerk
+Comment[fr]=Bitcoin, monnaie virtuelle cryptographique pair à pair
+Comment[tr]=Bitcoin, eşten eşe kriptografik sanal para birimi
+Exec=bitcoin-qt %u
+Terminal=false
+Type=Application
+Icon=bitcoin128
+MimeType=x-scheme-handler/bitcoin;
+Categories=Office;Finance; \ No newline at end of file