diff options
author | David Woodfall <dave@dawoodfall.net> | 2018-03-29 16:28:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-31 07:41:39 +0700 |
commit | e8475f35c9b29779e5923df3b2e08af2974ae124 (patch) | |
tree | 4fc80123b0066b1c47ec4d72974a3006e04361ac /office/rednotebook | |
parent | 7c036c76d1728d5d729fa541d0497a1e8eb7a561 (diff) |
office/rednotebook: Updated for version 2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/rednotebook')
-rw-r--r-- | office/rednotebook/rednotebook.SlackBuild | 26 | ||||
-rw-r--r-- | office/rednotebook/rednotebook.info | 8 |
2 files changed, 16 insertions, 18 deletions
diff --git a/office/rednotebook/rednotebook.SlackBuild b/office/rednotebook/rednotebook.SlackBuild index f7328f211d3f9..959c1371a350a 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 a739a68e21954..0ec487cc24870 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" |