summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Aversa <aveNOrsa@email.ariSPAMzona.edu>2018-01-05 23:21:55 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:33 +0700
commita11d9161a2c0764e790fc0ef44a25a7796676fb7 (patch)
tree2c371b6629485b7845f8d56aa7ff9195919b0d02
parentc31f5768a9a75f42e05145000d318e938328a24e (diff)
downloadslackbuilds-a11d9161a2c0764e790fc0ef44a25a7796676fb7.tar.gz
network/retroshare: Updated for version 0.6.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/retroshare/README1
-rw-r--r--network/retroshare/doinst.sh14
-rw-r--r--network/retroshare/retroshare.SlackBuild24
-rw-r--r--network/retroshare/retroshare.info8
4 files changed, 31 insertions, 16 deletions
diff --git a/network/retroshare/README b/network/retroshare/README
index 1948c9aa61..ff08d1dc97 100644
--- a/network/retroshare/README
+++ b/network/retroshare/README
@@ -8,4 +8,3 @@ communication. RetroShare provides filesharing, chat, messages,
forums and channels.
NOTE: Plugins no longer build and so are disabled.
-
diff --git a/network/retroshare/doinst.sh b/network/retroshare/doinst.sh
new file mode 100644
index 0000000000..262eb5a9e5
--- /dev/null
+++ b/network/retroshare/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+# If other icon themes are installed, then add to/modify this as needed
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/retroshare/retroshare.SlackBuild b/network/retroshare/retroshare.SlackBuild
index 32cfbef310..672e8622ba 100644
--- a/network/retroshare/retroshare.SlackBuild
+++ b/network/retroshare/retroshare.SlackBuild
@@ -17,11 +17,13 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-PKGNAM=retroshare
-VERSION=${VERSION:-0.6.1}
+PRGNAM=retroshare
+VERSION=${VERSION:-0.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCNAM=RetroShare
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -32,7 +34,7 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PKGNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
@@ -48,11 +50,9 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PKGNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz
-cd RetroShare-$VERSION
-# delete all plugins
-rm -rf plugins
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -68,11 +68,13 @@ make INSTALL_ROOT=${PKG} install
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
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.txt README.md TODO.txt $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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION$RC-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/retroshare/retroshare.info b/network/retroshare/retroshare.info
index 05c3c7ddb9..ed8e937fa5 100644
--- a/network/retroshare/retroshare.info
+++ b/network/retroshare/retroshare.info
@@ -1,8 +1,8 @@
PRGNAM="retroshare"
-VERSION="0.6.1"
-HOMEPAGE="http://retroshare.org"
-DOWNLOAD="https://github.com/RetroShare/RetroShare/archive/0.6.1.tar.gz"
-MD5SUM="33c3422f5ce7f2b73a77b8f779df4268"
+VERSION="0.6.3"
+HOMEPAGE="http://retroshare.net"
+DOWNLOAD="https://github.com/RetroShare/RetroShare/archive/v0.6.3/RetroShare-0.6.3.tar.gz"
+MD5SUM="9cb22e4cc5a11e043601795eb9a175cc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmicrohttpd libupnp speex protobuf sqlcipher"