summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
-rw-r--r--peercoin.install6
-rw-r--r--peercoind-tor@.service (renamed from ppcoind-tor@.service)0
-rw-r--r--peercoind@.service (renamed from ppcoind@.service)0
5 files changed, 27 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 43fd9a3e269..61f283581bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Mar 8 17:29:38 UTC 2016
+# Thu Mar 10 19:46:09 UTC 2016
pkgbase = peercoin
pkgdesc = Peercoin wallet client.
pkgver = 0.5.2
- pkgrel = 2
+ pkgrel = 3
url = peercoin.net
arch = x86_64
arch = i686
@@ -14,13 +14,16 @@ pkgbase = peercoin
depends = boost-libs
depends = openssl
depends = miniupnpc
+ replaces = ppcoin-daemon
+ replaces = ppcoin-qt
+ replaces = ppcoind
source = https://github.com/ppcoin/ppcoin/archive/v0.5.2ppc.tar.gz
source = peercoin-qt.desktop
source = upnp-1.9.patch
source = peercoin-qt@.service
source = peercoin-qt-tor@.service
- source = ppcoind@.service
- source = ppcoind-tor@.service
+ source = peercoind@.service
+ source = peercoind-tor@.service
sha256sums = 60c12c0cde3f52f714ec6ba3656da2a39838761cb05c2ec8b21bacd33b268760
sha256sums = 6cb18e19847bbf4066920dbbf4371ddf07409392408fc6d079487e8759ea322e
sha256sums = 3060917f8e327002da842534265392a1849239ec5049f25c1ae8a81c3952e7b1
@@ -38,8 +41,9 @@ pkgname = peercoin-qt
depends = qrencode
depends = miniupnpc
-pkgname = ppcoind
+pkgname = peercoind
pkgdesc = Official implementation of Peercoin, the sustainable and secure cryptocurrency alternative to Bitcoin - daemon.
+ install = peercoin.install
depends = boost-libs
depends = miniupnpc
diff --git a/PKGBUILD b/PKGBUILD
index 946963052d0..433d91326e2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,14 @@
## Maintainer: peerchemist <peerchemist@protonmail.ch>
-pkgname=('peercoin-qt' 'ppcoind')
+pkgname=('peercoin-qt' 'peercoind')
pkgbase=peercoin
_gitname=ppcoin
pkgver=0.5.2
-pkgrel=2
+pkgrel=3
pkgdesc="Peercoin wallet client."
makedepends=('boost' 'miniupnpc' 'openssl')
depends=('boost-libs' 'openssl' 'miniupnpc')
+replaces=("ppcoin-daemon" "ppcoin-qt" "ppcoind")
arch=('x86_64' 'i686')
url='peercoin.net'
license=('MIT')
@@ -16,8 +17,8 @@ source=(https://github.com/ppcoin/ppcoin/archive/v${pkgver}ppc.tar.gz
upnp-1.9.patch
peercoin-qt@.service
peercoin-qt-tor@.service
- ppcoind@.service
- ppcoind-tor@.service)
+ peercoind@.service
+ peercoind-tor@.service)
sha256sums=('60c12c0cde3f52f714ec6ba3656da2a39838761cb05c2ec8b21bacd33b268760'
'6cb18e19847bbf4066920dbbf4371ddf07409392408fc6d079487e8759ea322e'
'3060917f8e327002da842534265392a1849239ec5049f25c1ae8a81c3952e7b1'
@@ -53,27 +54,28 @@ package_peercoin-qt() {
install=peercoin.install
install -Dm644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- install -Dm644 peercoin-qt@.service "${pkgdir}/usr/lib/systemd/system/peercoin-qt@.service"
- install -Dm644 $pkgname-tor@.service "${pkgdir}/usr/lib/systemd/system/pkgname-tor@.service"
+ install -Dm644 $pkgname@.service "${pkgdir}/usr/lib/systemd/system/$pkgname@.service"
+ install -Dm644 $pkgname-tor@.service "${pkgdir}/usr/lib/systemd/system/$pkgname-tor@.service"
cd "$srcdir/${_gitname}-${pkgver}ppc"
- install -Dm755 ppcoin-qt "${pkgdir}/usr/bin/peercoin-qt"
+ install -Dm755 ppcoin-qt "${pkgdir}/usr/bin/$pkgname"
#install -Dm644 COPYING "${pkgdir}/usr/share/licenses/peercoin/COPYING"
install -Dm644 "src/qt/res/icons/ppcoin.png" "${pkgdir}/usr/share/pixmaps/peercoin.png"
}
-package_ppcoind() {
+package_peercoind() {
makedepends=('boost' 'gcc' 'make' 'openssl' 'miniupnpc')
depends=('boost-libs' 'miniupnpc')
optdepeneds=('systemd' 'tor')
pkgdesc="Official implementation of Peercoin, the sustainable and secure cryptocurrency alternative to Bitcoin - daemon."
+ install=peercoin.install
- install -Dm644 ppcoind@.service "$pkgdir/usr/lib/systemd/system/ppcoind@.service"
+ install -Dm644 $pkgname@.service "$pkgdir/usr/lib/systemd/system/$pkgname@.service"
install -Dm644 $pkgname-tor@.service "$pkgdir/usr/lib/systemd/system/$pkgname-tor@.service"
install -Dm644 "$srcdir/${_gitname}-${pkgver}ppc/COPYING" "$pkgdir/usr/share/licenses/peercoin/COPYING"
cd "$srcdir/${_gitname}-${pkgver}ppc"
- install -Dm755 "src/ppcoind" "$pkgdir/usr/bin/ppcoind"
+ install -Dm755 "src/ppcoind" "$pkgdir/usr/bin/$pkgname"
}
diff --git a/peercoin.install b/peercoin.install
index f98ba733893..14c87b4b818 100644
--- a/peercoin.install
+++ b/peercoin.install
@@ -1,5 +1,10 @@
post_install() {
update-desktop-database -q
+
+ ln -s /usr/bin/peercoind /usr/bin/ppcoind
+
+ echo ""
+ echo "If you are having troubles with blockchain download, just backup wallet.dat, remove .ppcoin directory and start over. This is caused by incompatibility of libdb++ versions."
}
post_upgrade() {
@@ -8,4 +13,5 @@ post_upgrade() {
post_remove() {
post_install $1
+ rm /usr/bin/ppcoind
}
diff --git a/ppcoind-tor@.service b/peercoind-tor@.service
index 405757c69ea..405757c69ea 100644
--- a/ppcoind-tor@.service
+++ b/peercoind-tor@.service
diff --git a/ppcoind@.service b/peercoind@.service
index a6e65c84b9d..a6e65c84b9d 100644
--- a/ppcoind@.service
+++ b/peercoind@.service