summaryrefslogtreecommitdiff
path: root/misc/nixnote
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-11 02:18:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-11 07:03:55 +0700
commitda729ad22e010360bcd84ab22fd4ec96925b49a8 (patch)
treeb075cec5c87be11c67a715bac28828195b3ec0b1 /misc/nixnote
parent973b6e191f9c10a4569d813ac1fe66d38046c7ee (diff)
downloadslackbuilds-da729ad22e010360bcd84ab22fd4ec96925b49a8.tar.gz
misc/nixnote: Updated for version 2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/nixnote')
-rw-r--r--misc/nixnote/nixnote.SlackBuild16
-rw-r--r--misc/nixnote/nixnote.info14
2 files changed, 11 insertions, 19 deletions
diff --git a/misc/nixnote/nixnote.SlackBuild b/misc/nixnote/nixnote.SlackBuild
index 1639050f23..cc2151954e 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 <willysr@slackbuilds.org>
+# Copyright 2013-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# 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 ff9503da25..64a7e090b6 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"