From f99bfb9ccb45b69aa0c18dc5ca35a82bd249b230 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 8 Feb 2022 19:47:40 +0100 Subject: [PATCH] desktop/nitrokey-app: Updated for version 1.4.2. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- desktop/nitrokey-app/nitrokey-app.SlackBuild | 10 ++++++---- desktop/nitrokey-app/nitrokey-app.info | 14 +++++++------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/desktop/nitrokey-app/nitrokey-app.SlackBuild b/desktop/nitrokey-app/nitrokey-app.SlackBuild index 1d183d8fde..037e4b3f0a 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 diff --git a/desktop/nitrokey-app/nitrokey-app.info b/desktop/nitrokey-app/nitrokey-app.info index 2caf3e4fa9..3e92bf0850 100644 --- a/desktop/nitrokey-app/nitrokey-app.info +++ b/desktop/nitrokey-app/nitrokey-app.info @@ -1,12 +1,12 @@ PRGNAM="nitrokey-app" -VERSION="1.3.1" +VERSION="1.4.2" HOMEPAGE="https://www.nitrokey.com/" -DOWNLOAD="https://github.com/Nitrokey/nitrokey-app/archive/v1.3.1/nitrokey-app-1.3.1.tar.gz \ - https://github.com/Nitrokey/libnitrokey/archive/v3.3/libnitrokey-3.3.tar.gz \ - https://github.com/Nitrokey/cppcodec/archive/61d9b04/cppcodec-61d9b044d6644293f99fb87dfadc15dcab951bd9.zip" -MD5SUM="28e1b33b75777dda74ed4335d929393b \ - c4801581c540c420517762601bd1c71d \ - 29d201707eb38dbee180dd21a71cbae9" +DOWNLOAD="https://github.com/Nitrokey/nitrokey-app/archive/v1.4.2/nitrokey-app-1.4.2.tar.gz \ + https://github.com/Nitrokey/libnitrokey/archive/v3.6/libnitrokey-3.6.tar.gz \ + https://github.com/tplgy/cppcodec/archive/v0.2/cppcodec-0.2.tar.gz" +MD5SUM="b8db205c3a33c8260e837c19941b435c \ + 3b96912b9a99280db9382150f4c552f8 \ + 6394122488de6154a9d78b1b62105354" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="hidapi"