aboutsummaryrefslogtreecommitdiff
path: root/desktop/nitrokey-app/nitrokey-app.SlackBuild
diff options
context:
space:
mode:
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