aboutsummaryrefslogtreecommitdiff
path: root/network/bitcoin/bitcoin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/bitcoin/bitcoin.SlackBuild')
-rw-r--r--network/bitcoin/bitcoin.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/network/bitcoin/bitcoin.SlackBuild b/network/bitcoin/bitcoin.SlackBuild
index a14adf8e00ea6..25b5cfbbe9ed8 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.9.0}
+VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -94,6 +94,10 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Remove the "test" binaries. Alternatively, you can explicitly disable tests
+# by adding "--enable-tests=no" to the above configure command.
+rm $PKG/usr/bin/test*
+
mkdir -p $PKG/usr/{bin,man/man{1,5}}
mkdir -p $PKG/usr/share/{applications,kde4/services,pixmaps}
@@ -103,7 +107,7 @@ 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/
+install -m 0644 contrib/debian/bitcoin-qt.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