summaryrefslogtreecommitdiffstats
path: root/misc/nixnote/nixnote.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/nixnote/nixnote.SlackBuild')
-rw-r--r--misc/nixnote/nixnote.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/misc/nixnote/nixnote.SlackBuild b/misc/nixnote/nixnote.SlackBuild
index 1639050f23c..cc2151954e7 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