blob: ce824b69c23b772d82a9471dbb13b089ac97dc26 (
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: libsecret qt6-tools
5
6 name=qtkeychain6
7 version=0.13.2
8 release=1
9 source=(https://github.com/frankosterfeld/qtkeychain/archive/v$version/qtkeychain-$version.tar.gz)
10
11 build() {
12 cmake -S qtkeychain-$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 -D BUILD_WITH_QT6=ON \
20 -D BUILD_WITH_QT5=OFF \
21 -Wno-dev
22 cmake --build build
23 DESTDIR=$PKG cmake --install build
24
25 rm -fr $PKG/usr/share/qt6*
26 }
|