summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Bugno <capent@yahoo.com>2018-04-17 10:22:20 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-21 07:42:59 +0700
commit551151280bdb5768c750a6a0e10909dc69e87535 (patch)
treebbb570df2bb3dae201b68320d85f50e00d010bfc
parent5e460b06c0ed4431cfa2b6bdc2cb28206796d954 (diff)
downloadslackbuilds-551151280bdb5768c750a6a0e10909dc69e87535.tar.gz
desktop/nitrokey-app: Updated for version 1.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--desktop/nitrokey-app/nitrokey-app.SlackBuild12
-rw-r--r--desktop/nitrokey-app/nitrokey-app.info10
2 files changed, 10 insertions, 12 deletions
diff --git a/desktop/nitrokey-app/nitrokey-app.SlackBuild b/desktop/nitrokey-app/nitrokey-app.SlackBuild
index 19c8916b63..dec8384f3c 100644
--- a/desktop/nitrokey-app/nitrokey-app.SlackBuild
+++ b/desktop/nitrokey-app/nitrokey-app.SlackBuild
@@ -25,8 +25,8 @@
PRGNAM=nitrokey-app
-VERSION=${VERSION:-1.2}
-LIBVERSION=${LIBVERSION:-3.2}
+VERSION=${VERSION:-1.3}
+LIBVERSION=${LIBVERSION:-3.3}
CODECVERSION=${CODECVERSION:-61d9b044d6644293f99fb87dfadc15dcab951bd9}
BUILD=${BUILD:-1}
@@ -90,11 +90,8 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
- sed -i \
- -e 's:\${CMAKE_INSTALL_PREFIX}/usr/share:/usr/share:' \
- -e 's:\${CMAKE_INSTALL_PREFIX}/lib/udev:/lib/udev:' \
- cmake_install.cmake
make
+ cp ../libnitrokey/data/41-nitrokey.rules ../data/
make install DESTDIR=$PKG
cd ..
@@ -102,7 +99,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a 3RDPARTY.txt README.md LICENSE CONTRIBUTING.md CHANGELOG.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 3RDPARTY.txt README.md CONTRIBUTING.md CHANGELOG.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ./LICENSES $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/nitrokey-app/nitrokey-app.info b/desktop/nitrokey-app/nitrokey-app.info
index 548c566b6c..e10531cf48 100644
--- a/desktop/nitrokey-app/nitrokey-app.info
+++ b/desktop/nitrokey-app/nitrokey-app.info
@@ -1,11 +1,11 @@
PRGNAM="nitrokey-app"
-VERSION="1.2"
+VERSION="1.3"
HOMEPAGE="https://www.nitrokey.com/"
-DOWNLOAD="https://github.com/Nitrokey/nitrokey-app/archive/v1.2/nitrokey-app-1.2.tar.gz \
- https://github.com/Nitrokey/libnitrokey/archive/v3.2/libnitrokey-3.2.tar.gz \
+DOWNLOAD="https://github.com/Nitrokey/nitrokey-app/archive/v1.3/nitrokey-app-1.3.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="7cca0ea81e29f9987c9ad45ac92e99c3 \
- 5a5f965da761938383c28e53187dd5b5 \
+MD5SUM="fbc163e356010d9ddc0084c863593fde \
+ c4801581c540c420517762601bd1c71d \
29d201707eb38dbee180dd21a71cbae9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""