desktop/nitrokey-app: Updated for version 1.3.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Felipe Bugno 2018-04-17 10:22:20 +01:00 committed by Willy Sudiarto Raharjo
parent 5e460b06c0
commit 551151280b
2 changed files with 10 additions and 12 deletions

View file

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

View file

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