summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornomnombtc <nomnombtc@arcor.de>2013-07-01 16:16:43 -0500
committerErik Hanson <erik@slackbuilds.org>2013-07-01 16:16:43 -0500
commit0eb5817a09dfb316a07aa6c415479bfad9de44cf (patch)
tree3f143ea9f54de98fe00c2b10a9a420f7a47e2be4
parent41079cd1d87a8f68306730e90d7ef1ab55d91dca (diff)
downloadslackbuilds-0eb5817a09dfb316a07aa6c415479bfad9de44cf.tar.gz
network/bitcoin: Updated for version 0.8.3.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r--network/bitcoin/README3
-rw-r--r--network/bitcoin/bitcoin-qt.desktop2
-rw-r--r--network/bitcoin/bitcoin.SlackBuild20
-rw-r--r--network/bitcoin/bitcoin.info8
4 files changed, 23 insertions, 10 deletions
diff --git a/network/bitcoin/README b/network/bitcoin/README
index cfc18d9a22..dbb629b665 100644
--- a/network/bitcoin/README
+++ b/network/bitcoin/README
@@ -1,9 +1,12 @@
+bitcoin (P2P electronic cash system)
+
Bitcoin is a free open source peer-to-peer electronic cash system
that is completely decentralized, without the need for a central
server or trusted parties. Users hold the crypto keys to their
own money and transact directly with each other, with the help
of a P2P network to check for double-spending.
+qrencode is an optional but strongly recommended dependency.
UPNP is disabled, it requires the optional dependency miniupnpc.
Package provides both, bitcoin-qt (GUI) and bitcoind (CLI).
diff --git a/network/bitcoin/bitcoin-qt.desktop b/network/bitcoin/bitcoin-qt.desktop
index f83abbe767..c05a843f30 100644
--- a/network/bitcoin/bitcoin-qt.desktop
+++ b/network/bitcoin/bitcoin-qt.desktop
@@ -7,4 +7,4 @@ Icon=bitcoin
StartupNotify=true
Terminal=false
Type=Application
-Categories=Network;P2P;
+Categories=Network;P2P
diff --git a/network/bitcoin/bitcoin.SlackBuild b/network/bitcoin/bitcoin.SlackBuild
index 7789db6745..dc1e43e930 100644
--- a/network/bitcoin/bitcoin.SlackBuild
+++ b/network/bitcoin/bitcoin.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bitcoin
-VERSION=${VERSION:-0.8.1}
+VERSION=${VERSION:-0.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,6 +57,9 @@ fi
# Detect miniupnpc
if [ -x /usr/bin/upnpc ]; then UPNP=1; else UPNP="-"; fi
+# Detect qrencode
+if [ -x /usr/bin/qrencode ]; then QRCODE=1; else QRCODE=0; fi
+
set -e
rm -rf $PKG
@@ -79,8 +82,8 @@ qmake \
QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
"USE_UPNP=$UPNP" \
- USE_SSL=1 \
- USE_QRCODE=1
+ USE_QRCODE=$QRCODE \
+ USE_SSL=1
make
@@ -102,12 +105,16 @@ cd src
USE_SSL=1
cd -
-mkdir -p $PKG/usr/bin
+mkdir -p $PKG/usr/{bin,man/man{1,5}}
mkdir -p $PKG/usr/share/{applications,kde4/services,pixmaps}
install -m 0755 bitcoin-qt $PKG/usr/bin/
install -m 0755 src/bitcoind $PKG/usr/bin/
+install -m 0644 contrib/debian/manpages/bitcoin-qt.1 $PKG/usr/man/man1/
+install -m 0644 contrib/debian/manpages/bitcoind.1 $PKG/usr/man/man1/
+install -m 0644 contrib/debian/manpages/bitcoin.conf.5 $PKG/usr/man/man5/
+
install -m 0644 src/qt/res/icons/bitcoin.png $PKG/usr/share/pixmaps/
install -m 0644 $CWD/bitcoin-qt.desktop $PKG/usr/share/applications/
install -m 0644 $CWD/bitcoin.protocol $PKG/usr/share/kde4/services/
@@ -115,8 +122,11 @@ install -m 0644 $CWD/bitcoin.protocol $PKG/usr/share/kde4/services/
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/README COPYING \
+cp -a doc/README.md COPYING \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/bitcoin/bitcoin.info b/network/bitcoin/bitcoin.info
index 402c4bd8c4..00f1042e2b 100644
--- a/network/bitcoin/bitcoin.info
+++ b/network/bitcoin/bitcoin.info
@@ -1,10 +1,10 @@
PRGNAM="bitcoin"
-VERSION="0.8.1"
+VERSION="0.8.3"
HOMEPAGE="http://www.bitcoin.org"
-DOWNLOAD="http://downloads.sourceforge.net/bitcoin/bitcoin-0.8.1-linux.tar.gz"
-MD5SUM="1f6698135cfab8695e0f826ffc428d4c"
+DOWNLOAD="http://downloads.sourceforge.net/bitcoin/bitcoin-0.8.3-linux.tar.gz"
+MD5SUM="1f0e1e55be710e3f9aaee4a025b2cb7e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qrencode"
+REQUIRES="%README%"
MAINTAINER="nomnombtc"
EMAIL="nomnombtc@arcor.de"