From da729ad22e010360bcd84ab22fd4ec96925b49a8 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 11 Mar 2017 02:18:15 +0700 Subject: misc/nixnote: Updated for version 2.0. Signed-off-by: Willy Sudiarto Raharjo --- misc/nixnote/nixnote.SlackBuild | 16 ++++++---------- misc/nixnote/nixnote.info | 14 +++++--------- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/misc/nixnote/nixnote.SlackBuild b/misc/nixnote/nixnote.SlackBuild index 1639050f23cf0..cc2151954e7e1 100644 --- a/misc/nixnote/nixnote.SlackBuild +++ b/misc/nixnote/nixnote.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for nixnote -# Copyright 2013-2016 Willy Sudiarto Raharjo +# Copyright 2013-2017 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=nixnote -VERSION=${VERSION:-1.6} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,9 +51,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-${VERSION}_$SOURCEARCH.tar.gz -cd $PRGNAM +rm -rf ${PRGNAM}2 +tar xvf $CWD/${PRGNAM}2-${VERSION}_$SOURCEARCH.tar.gz +cd ${PRGNAM}2 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -64,10 +64,6 @@ find -L . \ cp -r usr $PKG rm -rf $PKG/usr/share/man -# Use patched nixnote to remove SSLv3 usage -# https://sourceforge.net/p/nevernote/support-requests/21/ -cp $CWD/nixnote.jar $PKG/usr/share/nixnote/ - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/misc/nixnote/nixnote.info b/misc/nixnote/nixnote.info index ff9503da25e1f..64a7e090b6c70 100644 --- a/misc/nixnote/nixnote.info +++ b/misc/nixnote/nixnote.info @@ -1,14 +1,10 @@ PRGNAM="nixnote" -VERSION="1.6" +VERSION="2.0" HOMEPAGE="http://nevernote.sourceforge.net/" -DOWNLOAD="http://sourceforge.net/projects/nevernote/files/NixNote%201.6/nixnote-1.6_i386.tar.gz \ - https://sourceforge.net/projects/nevernote/files/Unstable%20Patches%20-%201.6/nixnote.jar" -MD5SUM="d79e6dde6ec3acd3f973f8469746df25 \ - a57a9887d984161310cb089481687446" -DOWNLOAD_x86_64="http://sourceforge.net/projects/nevernote/files/NixNote%201.6/nixnote-1.6_amd64.tar.gz \ - https://sourceforge.net/projects/nevernote/files/Unstable%20Patches%20-%201.6/nixnote.jar" -MD5SUM_x86_64="d3f98f571cc80155313b13e708f23e48 \ - a57a9887d984161310cb089481687446" +DOWNLOAD="https://sourceforge.net/projects/nevernote/files/NixNote2%20-%202.0/Linux/Qt4/nixnote2-2.0_i386.tar.gz" +MD5SUM="4cb785a82bad9bd0d82c7bab69b1eea4" +DOWNLOAD_x86_64="https://sourceforge.net/projects/nevernote/files/NixNote2%20-%202.0/Linux/Qt4/nixnote2-2.0_amd64.tar.gz/download" +MD5SUM_x86_64="feb6cd577412bfa4e03e0fcb28ea8540" REQUIRES="jdk libpng-legacy12" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" -- cgit v1.2.3