aboutsummaryrefslogtreecommitdiff
path: root/desktop/nitrokey-app/nitrokey-app.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-08 19:47:40 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 09:36:02 +0700
commitf99bfb9ccb45b69aa0c18dc5ca35a82bd249b230 (patch)
tree70fb775da5280542d8f62672cd41ee8f1061ea8f /desktop/nitrokey-app/nitrokey-app.SlackBuild
parent4d0b81730bf7c20ff0fe9bc9c7cf34cece4e1eef (diff)
desktop/nitrokey-app: Updated for version 1.4.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/nitrokey-app/nitrokey-app.SlackBuild')
-rw-r--r--desktop/nitrokey-app/nitrokey-app.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/desktop/nitrokey-app/nitrokey-app.SlackBuild b/desktop/nitrokey-app/nitrokey-app.SlackBuild
index 1d183d8fdefa..037e4b3f0acf 100644
--- a/desktop/nitrokey-app/nitrokey-app.SlackBuild
+++ b/desktop/nitrokey-app/nitrokey-app.SlackBuild
@@ -27,9 +27,9 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nitrokey-app
-VERSION=${VERSION:-1.3.1}
-LIBVERSION=${LIBVERSION:-3.3}
-CODECVERSION=${CODECVERSION:-61d9b044d6644293f99fb87dfadc15dcab951bd9}
+VERSION=${VERSION:-1.4.2}
+LIBVERSION=${LIBVERSION:-3.6}
+CODECVERSION=${CODECVERSION:-0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -83,7 +83,7 @@ tar xvf $CWD/libnitrokey-$LIBVERSION.tar.gz
mv libnitrokey-$LIBVERSION libnitrokey
rmdir 3rdparty/cppcodec
-unzip $CWD/cppcodec-$CODECVERSION.zip
+tar xvf $CWD/cppcodec-$CODECVERSION.tar.gz
mv cppcodec-$CODECVERSION 3rdparty/cppcodec
chown -R root:root .
@@ -105,6 +105,8 @@ cd build
make install DESTDIR=$PKG
cd ..
+mv $PKG/usr/lib $PKG/lib
+
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