blob: 309d2a25d7d6f716fcb2cd0f5629317f16e0b147 (
plain)
1 # Description: QtKeychain is a QT API to store passwords and other secret data securely
2 # URL: https://github.com/frankosterfeld/qtkeychain
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: qt5
5
6 name=qtkeychain
7 version=0.12.0
8 release=1
9 source=(https://github.com/frankosterfeld/$name/archive/v$version/$name-$version.tar.gz)
10
11 build() {
12 cmake -S $name-$version -B build -G Ninja \
13 -D CMAKE_INSTALL_PREFIX=/usr \
14 -D CMAKE_INSTALL_LIBDIR=lib \
15 -D CMAKE_INSTALL_LIBEXECDIR=lib/$name \
16 -D CMAKE_BUILD_TYPE=Release \
17 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
18 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
19 -Wno-dev
20 cmake --build build
21 DESTDIR=$PKG cmake --install build
22
23 rm -fr $PKG/usr/share/qt5*
24 }
|