summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcimer2016-05-08 12:22:01 +0200
committercimer2016-05-08 12:22:01 +0200
commit5497b95c6c498046b17fd37bf58c724a9d63b4aa (patch)
tree07ea0f996cbfd4c6eb35eaef83bdeedddbc86b88
parentfc8b5c439dd235ca949e9e4007192d5e5f9ba3f3 (diff)
downloadaur-5497b95c6c498046b17fd37bf58c724a9d63b4aa.tar.gz
update to v0.5.4
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD21
-rw-r--r--upnp-1.9.patch19
3 files changed, 16 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 505fa1e1d7b..4fd14183bbe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Mar 24 10:43:26 UTC 2016
+# Sun May 8 10:20:15 UTC 2016
pkgbase = peercoin
pkgdesc = Peercoin wallet client.
- pkgver = 0.5.3
+ pkgver = 0.5.4
pkgrel = 1
url = peercoin.net
arch = x86_64
@@ -11,22 +11,22 @@ pkgbase = peercoin
makedepends = boost
makedepends = miniupnpc
makedepends = openssl
+ makedepends = qt4
depends = boost-libs
depends = openssl
depends = miniupnpc
+ depends = qt4
replaces = ppcoin-daemon
replaces = ppcoin-qt
replaces = ppcoind
- source = https://github.com/ppcoin/ppcoin/archive/v0.5.3ppc.tar.gz
+ source = https://github.com/ppcoin/ppcoin/archive/v0.5.4ppc.tar.gz
source = peercoin-qt.desktop
- source = upnp-1.9.patch
source = peercoin-qt@.service
source = peercoin-qt-tor@.service
source = peercoind@.service
source = peercoind-tor@.service
- sha256sums = 9db3ecddfd71c3d8721c03555bc7d26720ace6cef96cf4926df0fa1e1fd1b456
+ sha256sums = 61d9de36f111c833afa491d4db2473985e126a26fd5f913db6663bdec88c1075
sha256sums = 6cb18e19847bbf4066920dbbf4371ddf07409392408fc6d079487e8759ea322e
- sha256sums = 3060917f8e327002da842534265392a1849239ec5049f25c1ae8a81c3952e7b1
sha256sums = cdb6a0083497d382eb36a16bcb6e99cde9a613ea3069b4e45b02f04f233f3ea2
sha256sums = 3f71859675561dd35c4527d96651b07996968e318dfbf26e8ce959f61a0d682f
sha256sums = 6cebc3ad79dc596f5d4e51d10c6ce5d2cb8b848137f78e532efbee23d2410d57
diff --git a/PKGBUILD b/PKGBUILD
index 0d270106230..239f1528b29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,35 +3,28 @@
pkgname=('peercoin-qt' 'peercoind')
pkgbase=peercoin
_gitname=ppcoin
-pkgver=0.5.3
+pkgver=0.5.4
pkgrel=1
pkgdesc="Peercoin wallet client."
-makedepends=('boost' 'miniupnpc' 'openssl')
-depends=('boost-libs' 'openssl' 'miniupnpc')
+makedepends=('boost' 'miniupnpc' 'openssl' 'qt4')
+depends=('boost-libs' 'openssl' 'miniupnpc' 'qt4')
replaces=("ppcoin-daemon" "ppcoin-qt" "ppcoind")
arch=('x86_64' 'i686')
url='peercoin.net'
license=('MIT')
source=(https://github.com/ppcoin/ppcoin/archive/v${pkgver}ppc.tar.gz
peercoin-qt.desktop
- upnp-1.9.patch
peercoin-qt@.service
peercoin-qt-tor@.service
peercoind@.service
peercoind-tor@.service)
-sha256sums=('9db3ecddfd71c3d8721c03555bc7d26720ace6cef96cf4926df0fa1e1fd1b456'
+sha256sums=('61d9de36f111c833afa491d4db2473985e126a26fd5f913db6663bdec88c1075'
'6cb18e19847bbf4066920dbbf4371ddf07409392408fc6d079487e8759ea322e'
- '3060917f8e327002da842534265392a1849239ec5049f25c1ae8a81c3952e7b1'
'cdb6a0083497d382eb36a16bcb6e99cde9a613ea3069b4e45b02f04f233f3ea2'
'3f71859675561dd35c4527d96651b07996968e318dfbf26e8ce959f61a0d682f'
'6cebc3ad79dc596f5d4e51d10c6ce5d2cb8b848137f78e532efbee23d2410d57'
'88459c23c17faca43582745591ebc54ed4baac85beb26aadeb3b43363c852d74')
-prepare() {
- cd "$srcdir/${_gitname}-${pkgver}ppc"
- patch -p1 -i ../upnp-1.9.patch
-}
-
build() {
cd "$srcdir/${_gitname}-${pkgver}ppc"
@@ -45,6 +38,12 @@ build() {
make -f makefile.unix USE_UPNP=1 USE_SSL=0 -e PIE=1 -C src
}
+check() {
+ cd "$srcdir/${_gitname}-${pkgver}ppc"
+
+ make -f makefile.unix test_${_gitname} -C src
+}
+
package_peercoin-qt() {
pkgdesc="Official implementation of Peercoin, the sustainable and secure cryptocurrency alternative to Bitcoin - QT wallet."
diff --git a/upnp-1.9.patch b/upnp-1.9.patch
deleted file mode 100644
index 42e6cf18e8d..00000000000
--- a/upnp-1.9.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur a/src/net.cpp b/src/net.cpp
---- a/src/net.cpp 2015-06-15 10:51:30.000000000 +0200
-+++ b/src/net.cpp 2015-10-03 16:15:10.441886309 +0200
-@@ -1020,10 +1020,14 @@
- #ifndef UPNPDISCOVER_SUCCESS
- /* miniupnpc 1.5 */
- devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0);
--#else
-+#elif MINIUPNPC_API_VERSION < 14
- /* miniupnpc 1.6 */
- int error = 0;
- devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
-+#else
-+ /* miniupnpc 1.9.20150730 */
-+ int error = 0;
-+ devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error);
- #endif
-
- struct UPNPUrls urls;