summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/rednotebook/rednotebook.SlackBuild26
-rw-r--r--office/rednotebook/rednotebook.info8
2 files changed, 16 insertions, 18 deletions
diff --git a/office/rednotebook/rednotebook.SlackBuild b/office/rednotebook/rednotebook.SlackBuild
index f7328f211d..959c1371a3 100644
--- a/office/rednotebook/rednotebook.SlackBuild
+++ b/office/rednotebook/rednotebook.SlackBuild
@@ -22,13 +22,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rednotebook
-VERSION=${VERSION:-1.11}
+VERSION=${VERSION:-2.4}
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
@@ -36,11 +36,11 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
+PKG=$TMP/package-$SRCNAM
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"
@@ -63,20 +63,18 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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/$PRGNAM-$VERSION
-cp -a \
- AUTHORS CHANGELOG LICENSE \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG LICENSE README.md TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/office/rednotebook/rednotebook.info b/office/rednotebook/rednotebook.info
index a739a68e21..0ec487cc24 100644
--- a/office/rednotebook/rednotebook.info
+++ b/office/rednotebook/rednotebook.info
@@ -1,10 +1,10 @@
PRGNAM="rednotebook"
-VERSION="1.11"
+VERSION="2.4"
HOMEPAGE="http://rednotebook.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/project/rednotebook/rednotebook-1.11.tar.gz"
-MD5SUM="2a4feff4632b094731be2be4138208a9"
+DOWNLOAD="https://github.com/jendrikseipp/rednotebook/archive/v2.4/rednotebook-2.4.tar.gz"
+MD5SUM="275c33555ad4b6a92bbeb802ff44d357"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="PyYAML pywebkitgtk"
+REQUIRES="python3-PyYAML webkitgtk"
MAINTAINER="David Woodfall"
EMAIL="dave@dawoodfall.net"