aboutsummaryrefslogtreecommitdiff
path: root/desktop/nitrokey-app/nitrokey-app.SlackBuild
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 /desktop/nitrokey-app/nitrokey-app.SlackBuild
parent5e460b06c0ed4431cfa2b6bdc2cb28206796d954 (diff)
desktop/nitrokey-app: Updated for version 1.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/nitrokey-app/nitrokey-app.SlackBuild')
-rw-r--r--desktop/nitrokey-app/nitrokey-app.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/desktop/nitrokey-app/nitrokey-app.SlackBuild b/desktop/nitrokey-app/nitrokey-app.SlackBuild
index 19c8916b63f7a..dec8384f3caf3 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