diff options
author | Ben Westover | 2020-12-14 11:38:49 -0500 |
---|---|---|
committer | Ben Westover | 2020-12-14 11:38:49 -0500 |
commit | bc0fe2a03d5e67310eab067438659cc4a5486529 (patch) | |
tree | f724cbfa6bf74429297548c749ba4cd06f97fc24 | |
download | aur-bc0fe2a03d5e67310eab067438659cc4a5486529.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 46 | ||||
-rw-r--r-- | PKGBUILD | 87 | ||||
-rw-r--r-- | bitcoinhd-qt.desktop | 14 |
3 files changed, 147 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f0f281ab2c9c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,46 @@ +pkgbase = bitcoinhd-git + pkgver = v1.4.3.r26.g00a6bdb8a + pkgrel = 1 + url = https://btchd.org/ + arch = x86_64 + arch = i686 + arch = pentium4 + arch = arm + arch = armv6h + arch = armv7h + arch = aarch64 + license = MIT + makedepends = openssl + makedepends = boost + makedepends = boost-libs + makedepends = libevent + makedepends = miniupnpc + makedepends = db4.8 + makedepends = protobuf + makedepends = qrencode + makedepends = zeromq + makedepends = git + makedepends = python + source = git://github.com/btchd/btchd.git + source = bitcoinhd-qt.desktop + sha256sums = SKIP + sha256sums = 4ec2e2a58ee5f44c2bd602536aa3e217062aaba92a638b06fd7d1cf7eb8f2278 + +pkgname = bitcoinhd-daemon-git + pkgdesc = BitcoinHD is a peer-to-peer network based digital currency - daemon + depends = boost-libs + depends = libevent + depends = miniupnpc + depends = zeromq + backup = etc/btchd/btchd.conf + +pkgname = bitcoinhd-cli-git + pkgdesc = BitcoinHD is a peer-to-peer network based digital currency - RPC client + depends = boost-libs + depends = libevent + +pkgname = bitcoinhd-tx-git + pkgdesc = BitcoinHD is a peer-to-peer network based digital currency - Transaction tool + depends = boost-libs + depends = openssl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d4d6b0331e7d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,87 @@ +# Maintainer: Ben Westover <kwestover.kw@gmail.com> + +pkgbase=bitcoinhd-git + +# qt is broken right now, will add bitcoinhd-qt-git package when build passes +pkgname=('bitcoinhd-daemon-git' 'bitcoinhd-cli-git' 'bitcoinhd-tx-git') +# pkgname=('bitcoinhd-daemon-git' 'bitcoinhd-cli-git' 'bitcoinhd-qt-git' 'bitcoinhd-tx-git') +pkgver=v1.4.3.r26.g00a6bdb8a +pkgrel=1 +arch=('x86_64' 'i686' 'pentium4' 'arm' 'armv6h' 'armv7h' 'aarch64') +url="https://btchd.org/" +license=('MIT') +# makedepends=('openssl' 'boost' 'boost-libs' 'libevent' 'miniupnpc' 'db4.8' 'qt5-base' 'qt5-tools' 'protobuf' 'qrencode' 'zeromq' 'git' 'python') +makedepends=('openssl' 'boost' 'boost-libs' 'libevent' 'miniupnpc' 'db4.8' 'protobuf' 'qrencode' 'zeromq' 'git' 'python') +source=("git://github.com/btchd/btchd.git" + "bitcoinhd-qt.desktop") +sha256sums=('SKIP' + '4ec2e2a58ee5f44c2bd602536aa3e217062aaba92a638b06fd7d1cf7eb8f2278') + +pkgver() { + cd btchd + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd btchd + ./autogen.sh + ./configure --with-zmq --with-qrencode --without-gui # --with-gui=qt5 + make +} + +check() { + cd btchd + make check +} + +# package_bitcoinhd-qt-git() { +# pkgdesc="BitcoinHD is a peer-to-peer network based digital currency - Qt" +# depends=('boost-libs' 'hicolor-icon-theme' 'libevent' 'miniupnpc' 'protobuf' 'qrencode' 'qt5-base' 'zeromq') +# +# install -Dm755 btchd/src/qt/btchd-qt "$pkgdir"/usr/bin/btchd-qt +# install -Dm644 btchd/doc/man/btchd-qt.1 "$pkgdir"/usr/share/man/man1/btchd-qt.1 +# install -Dm644 btchd/share/pixmaps/bitcoin128.png "$pkgdir"/usr/share/pixmaps/btchd128.png +# +# if [ ! -f "/usr/share/licenses/btchd/COPYING" ]; then +# install -Dm644 btchd/COPYING "$pkgdir"/usr/share/licenses/btchd/COPYING +# fi +# install -Dm644 bitcoinhd-qt.desktop "$pkgdir"/usr/share/applications/btchd-qt.desktop +# } + +package_bitcoinhd-daemon-git() { + pkgdesc="BitcoinHD is a peer-to-peer network based digital currency - daemon" + depends=('boost-libs' 'libevent' 'miniupnpc' 'zeromq') + backup=('etc/btchd/btchd.conf') + + install -Dm755 btchd/src/btchdd "$pkgdir"/usr/bin/btchdd + install -Dm644 btchd/doc/man/btchdd.1 "$pkgdir"/usr/share/man/man1/btchdd.1 + install -Dm644 btchd/share/examples/btchd.conf "$pkgdir"/etc/btchd/btchd.conf + + if [ ! -f "/usr/share/licenses/btchd/COPYING" ]; then + install -Dm644 btchd/COPYING "$pkgdir"/usr/share/licenses/btchd/COPYING + fi +} + +package_bitcoinhd-cli-git() { + pkgdesc="BitcoinHD is a peer-to-peer network based digital currency - RPC client" + depends=('boost-libs' 'libevent') + + install -Dm755 btchd/src/btchd-cli "$pkgdir"/usr/bin/btchd-cli + install -Dm644 btchd/doc/man/btchd-cli.1 "$pkgdir"/usr/share/man/man1/btchd-cli.1 + + if [ ! -f "/usr/share/licenses/btchd/COPYING" ]; then + install -Dm644 btchd/COPYING "$pkgdir"/usr/share/licenses/btchd/COPYING + fi +} + +package_bitcoinhd-tx-git() { + pkgdesc="BitcoinHD is a peer-to-peer network based digital currency - Transaction tool" + depends=('boost-libs' 'openssl') + + install -Dm755 btchd/src/btchd-tx "$pkgdir"/usr/bin/btchd-tx + install -Dm644 btchd/doc/man/btchd-tx.1 "$pkgdir"/usr/share/man/man1/btchd-tx.1 + + if [ ! -f "/usr/share/licenses/btchd/COPYING" ]; then + install -Dm644 btchd/COPYING "$pkgdir"/usr/share/licenses/btchd/COPYING + fi +} diff --git a/bitcoinhd-qt.desktop b/bitcoinhd-qt.desktop new file mode 100644 index 000000000000..f4b2eefabaee --- /dev/null +++ b/bitcoinhd-qt.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Name=BitcoinHD Core +Comment=Connect to the BitcoinHD P2P Network +Comment[de]=Verbinde mit dem BitcoinHD peer-to-peer Netzwerk +Comment[fr]=BitcoinHD, monnaie virtuelle cryptographique pair à pair +Comment[tr]=BitcoinHD, eşten eşe kriptografik sanal para birimi +Exec=btchd-qt %u +Terminal=false +Type=Application +Icon=/usr/share/pixmaps/btchd128.png +MimeType=x-scheme-handler/btchd; +Categories=Office;Finance;P2P;Network;Qt; +StartupWMClass=BitcoinHD-qt |