summaryrefslogtreecommitdiff
path: root/desktop/cellwriter
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/cellwriter')
-rw-r--r--desktop/cellwriter/cellwriter.SlackBuild25
-rw-r--r--desktop/cellwriter/cellwriter.info12
2 files changed, 18 insertions, 19 deletions
diff --git a/desktop/cellwriter/cellwriter.SlackBuild b/desktop/cellwriter/cellwriter.SlackBuild
index 2853825919..a5399f11bb 100644
--- a/desktop/cellwriter/cellwriter.SlackBuild
+++ b/desktop/cellwriter/cellwriter.SlackBuild
@@ -3,7 +3,8 @@
# Slackware build script for cellwriter
# Originally by Michael Filz <the_emmel@gmx.net>
-# Modified by Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
+# Previously maintained by Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org
+# Maintained by Gregory J. L. Tourte <artourter@gmail.com>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,13 +25,14 @@
# not, see <http://www.gnu.org/licenses/>.
PRGNAM=cellwriter
-VERSION=${VERSION:-1.3.5}
+VERSION=${VERSION:-1.3.6}
+COMMIT=${COMMIT:-b5295f46dab0a353d72368e6255b654bb1c49f0c}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -55,14 +57,14 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+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
+tar xvf $CWD/$COMMIT.tar.gz || tar xvf $CWD/$PRGNAM-$COMMIT.tar.gz
+cd $PRGNAM-$COMMIT
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,8 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux \
- --without-gnome
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@@ -90,9 +91,7 @@ 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 \
- AUTHORS COPYING ChangeLog INSTALL TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/cellwriter/cellwriter.info b/desktop/cellwriter/cellwriter.info
index 1e313e8bf1..ea87abd79a 100644
--- a/desktop/cellwriter/cellwriter.info
+++ b/desktop/cellwriter/cellwriter.info
@@ -1,10 +1,10 @@
PRGNAM="cellwriter"
-VERSION="1.3.5"
-HOMEPAGE="http://risujin.org/cellwriter/"
-DOWNLOAD="http://cellwriter.googlecode.com/files/cellwriter-1.3.5.tar.gz"
-MD5SUM="ff994d6acfaac81ed75b4e60eec91b8d"
+VERSION="1.3.6"
+HOMEPAGE="https://github.com/risujin/cellwriter/"
+DOWNLOAD="https://github.com/risujin/cellwriter/archive/b5295f46dab0a353d72368e6255b654bb1c49f0c.tar.gz"
+MD5SUM="f7e4c88084af1d5f459e5e277cff2173"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Ryan P.C. McQuen"
-EMAIL="ryanpcmcquen@member.fsf.org"
+MAINTAINER="ArTourter"
+EMAIL="artourter@gmail.com"