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>
This commit is contained in:
Matteo Bernardini 2022-02-08 19:47:40 +01:00 committed by Willy Sudiarto Raharjo
parent 4d0b81730b
commit f99bfb9ccb
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 11 deletions

View file

@ -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

View file

@ -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"