Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
Showing with 125 additions and 1 deletion.
  1. +1 −1 bitcoin/bitcoin.SlackBuild
  2. +13 −0 electrum/README
  3. +9 −0 electrum/checkout-git.sh
  4. +73 −0 electrum/electrum.SlackBuild
  5. +10 −0 electrum/electrum.info
  6. +19 −0 electrum/slack-desc
View
2 bitcoin/bitcoin.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=bitcoin
VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_nnb}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
View
13 electrum/README
@@ -0,0 +1,13 @@
+electrum (lightweight Bitcoin client)
+
+Electrum is a lightweight Bitcoin client,
+based on a client-server protocol.
+
+Project Website: http://electrum-desktop.com/
+
+This needs ecdsa and slowaes for python, easiest
+way is to install python-pip from SBo, then as
+root:
+#pip install ecdsa
+#pip install slowaes
+
View
9 electrum/checkout-git.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+TS=$(date +%d%m%y)
+
+git clone git://github.com/spesmilo/electrum.git && \
+ mv electrum electrum-git${TS}
+
+tar cvjf electrum-git${TS}.tar.bz2 electrum-git${TS} && \
+ rm -rf electrum-git${TS}
+
View
73 electrum/electrum.SlackBuild
@@ -0,0 +1,73 @@
+#!/bin/sh
+
+# Slackware build script for electrum
+# written by nomnombtc (github.com/nomnombtc)
+
+PRGNAM=electrum
+VERSION=${VERSION:-git260912}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_nnb}
+
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+DOCS="AUTHORS LICENCE README RELEASE-NOTES"
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+
+chown -R root:root .
+
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+pyrcc4 icons.qrc -o lib/icons_rc.py
+
+python mki18n.py
+
+#slackify icon paths
+sed -i 's/app-install\/icons/pixmaps/g' setup.py
+sed -i 's/\/usr\/share\/app-install\/icons\/electrum.png/electrum/g' electrum.desktop
+
+python setup.py install --root=$PKG || exit 1
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
View
10 electrum/electrum.info
@@ -0,0 +1,10 @@
+PRGNAM="electrum"
+VERSION="git260912"
+HOMEPAGE="http://electrum-desktop.com/"
+DOWNLOAD="git://github.com/spesmilo/electrum.git"
+MD5SUM=""
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="nomnombtc"
+EMAIL=""
+APPROVED=""
View
19 electrum/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+electrum: electrum (lightweight Bitcoin client)
+electrum:
+electrum: Electrum is a lightweight Bitcoin client,
+electrum: based on a client-server protocol.
+electrum:
+electrum:
+electrum:
+electrum:
+electrum: Project Website: http://electrum-desktop.com/
+electrum:
+electrum:

No commit comments for this range

Something went wrong with that request. Please try again.