summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-04-15 22:17:15 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-22 08:11:03 +0700
commit769073fa0cd431767c94183eaa790a65ca2b6092 (patch)
tree514988c4a25045a6fefdea74fd8b78ce784d007c /office
parent2772a24c8c3d584f9e2a2877cf419aefc7f9e586 (diff)
downloadslackbuilds-769073fa0cd431767c94183eaa790a65ca2b6092.tar.gz
office/marave: Update script, HOMEPAGE & DOWNLOAD url.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'office')
-rw-r--r--office/marave/marave.SlackBuild13
-rw-r--r--office/marave/marave.info6
-rw-r--r--office/marave/slack-desc2
3 files changed, 11 insertions, 10 deletions
diff --git a/office/marave/marave.SlackBuild b/office/marave/marave.SlackBuild
index 6777a1a04d..d4b90cedd0 100644
--- a/office/marave/marave.SlackBuild
+++ b/office/marave/marave.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for marave
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,8 @@
PRGNAM=marave
VERSION=${VERSION:-0.7}
-BUILD=${BUILD:-1}
+SRCVER=${SRCVER:-master}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+unzip $CWD/$PRGNAM-$SRCVER.zip || unzip $CWD/$SRCVER.zip
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,7 +82,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/office/marave/marave.info b/office/marave/marave.info
index 841239f9d5..4e565bbaaf 100644
--- a/office/marave/marave.info
+++ b/office/marave/marave.info
@@ -1,8 +1,8 @@
PRGNAM="marave"
VERSION="0.7"
-HOMEPAGE="https://code.google.com/p/marave/"
-DOWNLOAD="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/marave/marave-0.7.tar.gz"
-MD5SUM="1bb038efb7a9847697bdbf671feb7f6e"
+HOMEPAGE="https://github.com/ralsina/marave"
+DOWNLOAD="https://github.com/ralsina/marave/archive/master.zip"
+MD5SUM="6ae1fe790429e1c7f277dc8aa8998308"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pyenchant"
diff --git a/office/marave/slack-desc b/office/marave/slack-desc
index 62cc7fa20c..fb9bfce45f 100644
--- a/office/marave/slack-desc
+++ b/office/marave/slack-desc
@@ -12,8 +12,8 @@ marave: Marave doesn't just have minimalism and simplicity, it has minimalism
marave: and simplicity combined with beauty and a palpable design ethic.
marave: Marave has soul.
marave:
+marave: Homepage: https://github.com/ralsina/marave
marave:
marave:
marave:
-marave: Homepage: https://code.google.com/p/marave/
marave: