summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaansu-auto2018-06-29 00:30:19 -0700
committerRaansu-auto2018-06-29 00:30:19 -0700
commite2edf16c00cb5ecdbc2d0b39da320d9d7b7701e8 (patch)
treef8ca3d2f33c6262216cc17a592e33aa320cfa79f
parent990093f6a221e7cddad856207eacf833bcf8ec0e (diff)
downloadaur-e2edf16c00cb5ecdbc2d0b39da320d9d7b7701e8.tar.gz
Update to 0.16.0rc6+2+g74f38c4d8
-rw-r--r--.SRCINFO47
-rw-r--r--PKGBUILD113
-rw-r--r--theholyroger-qt.desktop10
-rw-r--r--theholyroger.sysusers1
-rw-r--r--theholyroger.tmpfiles2
-rw-r--r--theholyrogerd.service22
6 files changed, 162 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a0679b6dcf4a..1141c6ad0c32 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,9 @@ pkgbase = roger-wallet-git
url = https://theholyroger.com
arch = i686
arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ arch = aarch64
license = MIT
makedepends = pkg-config
makedepends = boost-libs
@@ -39,7 +42,49 @@ pkgbase = roger-wallet-git
conflicts = theholyroger-tx
conflicts = theholyroger-daemon
source = git+https://github.com/TheHolyRoger/TheHolyRogerCoin.git
+ source = theholyroger-qt.desktop
+ source = theholyrogerd.service
+ source = theholyroger.sysusers
+ source = theholyroger.tmpfiles
sha256sums = SKIP
+ sha256sums = 979587970cc682b479eee62188e16c73cf2ebc1faa2f332a1439fd512dd79f7b
+ sha256sums = 2ba073d4d22fd5271885b354f5d98eed46f6c42ab823f930370a29ec65add31d
+ sha256sums = d4979ec97de07ef507dccc0f0ab15d0330adfaaa0eb7ba50612c8eeced1fbf2c
+ sha256sums = 353d7beb692b288ba455582232f28b1f19c315e1bb740d6fa2881acd6805196d
-pkgname = roger-wallet-git
+pkgname = theholyroger-daemon-git
+ pkgdesc = The Holy Roger Coin (ROGER), the leading altcoin derived from Litecoin - daemon
+ depends = boost-libs
+ depends = libevent
+ depends = miniupnpc
+ depends = zeromq
+ provides = theholyroger-daemon
+ conflicts = theholyroger-daemon
+
+pkgname = theholyroger-cli-git
+ pkgdesc = The Holy Roger Coin (ROGER), the leading altcoin derived from Litecoin - RPC client
+ depends = boost-libs
+ depends = libevent
+ provides = theholyroger-cli
+ conflicts = theholyroger-cli
+
+pkgname = theholyroger-qt-git
+ pkgdesc = The Holy Roger Coin (ROGER), the leading altcoin derived from Litecoin - Qt
+ depends = boost-libs
+ depends = desktop-file-utils
+ depends = libevent
+ depends = qt5-base
+ depends = miniupnpc
+ depends = qrencode
+ depends = protobuf
+ depends = zeromq
+ provides = theholyroger-qt
+ conflicts = theholyroger-qt
+
+pkgname = theholyroger-tx-git
+ pkgdesc = The Holy Roger Coin (ROGER), the leading altcoin derived from Litecoin - Transaction tool
+ depends = boost-libs
+ depends = openssl
+ provides = theholyroger-tx
+ conflicts = theholyroger-tx
diff --git a/PKGBUILD b/PKGBUILD
index 2e0d7188519a..1730d096dbaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,34 @@
# Maintainer: Raansu <Gero3977@gmail.com>
-pkgname=roger-wallet-git
+pkgbase=roger-wallet-git
_gitname=TheHolyRogerCoin
-pkgver=v0.16.0rc3
+pkgname=('theholyroger-daemon-git' 'theholyroger-cli-git' 'theholyroger-qt-git' 'theholyroger-tx-git')
+pkgver=0.16.0rc6+2+g74f38c4d8
pkgrel=1
pkgdesc="The Holy Roger Coin (ROGER), the leading altcoin derived from Litecoin. ROGER is developed with a focus on outing scams and trolling The Fake Roger."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://theholyroger.com"
license=('MIT')
depends=('qt4' 'miniupnpc' 'openssl' 'protobuf')
makedepends=('pkg-config' 'boost-libs' 'boost' 'db4.8' 'gcc' 'gcc-libs' 'git' 'qrencode' 'make' 'automoc4' 'automake' 'autoconf' 'libtool' 'zeromq')
provides=('roger-wallet' 'theholyroger' 'theholyroger-qt' 'theholyrogerd' 'theholyroger-cli' 'theholyroger-tx' 'theholyroger-daemon')
conflicts=('roger-wallet' 'theholyroger' 'theholyroger-qt' 'theholyrogerd' 'theholyroger-cli' 'theholyroger-tx' 'theholyroger-daemon')
-source=('git+https://github.com/TheHolyRoger/TheHolyRogerCoin.git')
-sha256sums=('SKIP')
+source=(
+ 'git+https://github.com/TheHolyRoger/TheHolyRogerCoin.git'
+ 'theholyroger-qt.desktop'
+ 'theholyrogerd.service'
+ 'theholyroger.sysusers'
+ 'theholyroger.tmpfiles'
+)
+sha256sums=('SKIP'
+ '979587970cc682b479eee62188e16c73cf2ebc1faa2f332a1439fd512dd79f7b'
+ '2ba073d4d22fd5271885b354f5d98eed46f6c42ab823f930370a29ec65add31d'
+ 'd4979ec97de07ef507dccc0f0ab15d0330adfaaa0eb7ba50612c8eeced1fbf2c'
+ '353d7beb692b288ba455582232f28b1f19c315e1bb740d6fa2881acd6805196d')
pkgver() {
- cd "$srcdir/$_gitname"
- git describe --tags| sed "s/-/./g"
+ cd "$_gitname"
+ git describe --long --tags | sed 's/-/+/g; s/^v//'
}
build() {
@@ -28,29 +39,67 @@ build() {
}
-package() {
- # install theholyroger-qt client
- msg2 'Installing theholyroger-qt...'
- install -Dm755 "$srcdir/$_gitname/src/qt/theholyroger-qt" "$pkgdir/usr/bin/theholyroger-qt"
-# install -Dm644 "$srcdir/$_gitname/share/pixmaps/litecoin128.xpm" "$pkgdir/usr/share/pixmaps/litecoin128.xpm"
-# desktop-file-install -m 644 --dir="$pkgdir/usr/share/applications/" "$srcdir/$_gitname/contrib/debian-litecoin/litecoin-qt.desktop"
-
- # install theholyroger-daemon
- msg2 'Installing theholyroger-daemon...'
- install -Dm755 "$srcdir/$_gitname/src/theholyrogerd" "$pkgdir/usr/bin/theholyrogerd"
- install -Dm644 "$srcdir/$_gitname/doc/man/theholyroger-qt.1" "$pkgdir/usr/share/man/man1/theholyroger-qt.1"
- install -Dm644 "$srcdir/$_gitname/doc/man/theholyroger-cli.1" "$pkgdir/usr/share/man/man1/theholyroger-cli.1"
- install -Dm644 "$srcdir/$_gitname/doc/man/theholyroger-tx.1" "$pkgdir/usr/share/man/man1/theholyroger-tx.1"
- install -Dm644 "$srcdir/$_gitname/doc/man/theholyrogerd.1" "$pkgdir/usr/share/man/man1/theholyrogerd.1"
-
- # install theholyroger-cli
- msg2 'Installing theholyroger-cli...'
- install -Dm755 "$srcdir/$_gitname/src/theholyroger-cli" "$pkgdir/usr/bin/theholyroger-cli"
-
- # install theholyroger-tx
- msg2 'Installing theholyroger-tx...'
- install -Dm755 "$srcdir/$_gitname/src/theholyroger-tx" "$pkgdir/usr/bin/theholyroger-tx"
-
- # install license
- install -D -m644 "$srcdir/$_gitname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+package_theholyroger-qt-git() {
+ pkgdesc="The Holy Roger Coin (ROGER), the leading altcoin derived from Litecoin - Qt"
+ depends=(boost-libs desktop-file-utils libevent qt5-base miniupnpc qrencode protobuf zeromq)
+ conflicts=(theholyroger-qt)
+ provides=(theholyroger-qt)
+
+ cd "$_gitname"
+ install -Dm755 src/qt/theholyroger-qt "$pkgdir"/usr/bin/theholyroger-qt
+ install -Dm644 "$srcdir"/theholyroger-qt.desktop \
+ "$pkgdir"/usr/share/applications/theholyroger.desktop
+ install -Dm644 share/pixmaps/bitcoin128.png \
+ "$pkgdir"/usr/share/pixmaps/theholyroger128.png
+ install -Dm644 doc/man/theholyroger-qt.1 \
+ "$pkgdir"/usr/share/man/man1/theholyroger-qt.1
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
+
+package_theholyroger-daemon-git() {
+ pkgdesc="The Holy Roger Coin (ROGER), the leading altcoin derived from Litecoin - daemon"
+ depends=(boost-libs libevent miniupnpc zeromq)
+ conflicts=(theholyroger-daemon)
+ provides=(theholyroger-daemon)
+
+ cd "$_gitname"
+ install -Dm755 src/theholyrogerd "$pkgdir"/usr/bin/theholyrogerd
+ install -Dm644 contrib/debian/examples/bitcoin.conf \
+ "$pkgdir/usr/share/doc/$pkgname/examples/theholyroger.conf"
+ install -Dm644 doc/man/theholyrogerd.1 \
+ "$pkgdir"/usr/share/man/man1/theholyrogerd.1
+ install -Dm644 "$srcdir/theholyrogerd.service" \
+ "$pkgdir/usr/lib/systemd/system/theholyrogerd.service"
+ install -Dm644 "$srcdir/theholyroger.sysusers" \
+ "$pkgdir/usr/lib/sysusers.d/theholyroger.conf"
+ install -Dm644 "$srcdir/theholyroger.tmpfiles" \
+ "$pkgdir/usr/lib/tmpfiles.d/theholyroger.conf"
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+package_theholyroger-cli-git() {
+ pkgdesc="The Holy Roger Coin (ROGER), the leading altcoin derived from Litecoin - RPC client"
+ depends=(boost-libs libevent)
+ conflicts=(theholyroger-cli)
+ provides=(theholyroger-cli)
+
+ cd "$_gitname"
+ install -Dm755 src/theholyroger-cli "$pkgdir"/usr/bin/theholyroger-cli
+ install -Dm644 doc/man/theholyroger-cli.1 \
+ "$pkgdir"/usr/share/man/man1/theholyroger-cli.1
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+package_theholyroger-tx-git() {
+ pkgdesc="The Holy Roger Coin (ROGER), the leading altcoin derived from Litecoin - Transaction tool"
+ depends=(boost-libs openssl)
+ conflicts=(theholyroger-tx)
+ provides=(theholyroger-tx)
+
+ cd "$_gitname"
+ install -Dm755 src/theholyroger-tx "$pkgdir"/usr/bin/theholyroger-tx
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/theholyroger-qt.desktop b/theholyroger-qt.desktop
new file mode 100644
index 000000000000..f07405fde603
--- /dev/null
+++ b/theholyroger-qt.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=TheHolyRoger
+Comment=TheHolyRoger P2P Cryptocurrency
+Exec=theholyroger-qt %u
+Terminal=false
+Type=Application
+Icon=/usr/share/pixmaps/theholyroger128.png
+MimeType=x-scheme-handler/theholyroger;
+Categories=Office;
diff --git a/theholyroger.sysusers b/theholyroger.sysusers
new file mode 100644
index 000000000000..808832974389
--- /dev/null
+++ b/theholyroger.sysusers
@@ -0,0 +1 @@
+u theholyroger - - /var/lib/theholyroger
diff --git a/theholyroger.tmpfiles b/theholyroger.tmpfiles
new file mode 100644
index 000000000000..d02b450d944b
--- /dev/null
+++ b/theholyroger.tmpfiles
@@ -0,0 +1,2 @@
+d /var/lib/theholyroger 0770 theholyroger theholyroger - -
+d /etc/theholyroger 0770 theholyroger theholyroger - -
diff --git a/theholyrogerd.service b/theholyrogerd.service
new file mode 100644
index 000000000000..ba01ccbbffa1
--- /dev/null
+++ b/theholyrogerd.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=TheHolyRoger's distributed currency daemon
+After=network.target
+
+[Service]
+User=theholyroger
+Group=theholyroger
+
+Type=forking
+PIDFile=/var/lib/theholyrogerd/theholyrogerd.pid
+ExecStart=/usr/bin/theholyrogerd -daemon -pid=/var/lib/theholyrogerd/theholyrogerd.pid \
+-conf=/etc/theholyroger/theholyroger.conf -datadir=/var/lib/theholyrogerd -disablewallet
+
+Restart=always
+PrivateTmp=true
+TimeoutStopSec=60s
+TimeoutStartSec=2s
+StartLimitInterval=120s
+StartLimitBurst=5
+
+[Install]
+WantedBy=multi-user.target