aboutsummaryrefslogtreecommitdiff
path: root/desktop
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
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')
-rw-r--r--desktop/nitrokey-app/nitrokey-app.SlackBuild10
-rw-r--r--desktop/nitrokey-app/nitrokey-app.info14
2 files changed, 13 insertions, 11 deletions
diff --git a/desktop/nitrokey-app/nitrokey-app.SlackBuild b/desktop/nitrokey-app/nitrokey-app.SlackBuild
index 1d183d8fdefa2..037e4b3f0acf6 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 2caf3e4fa9efb..3e92bf0850299 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"