blob: 48d1709ecf3588b97fc571aebee9542b576a8c49 (
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 qt5
5
6 name=qtkeychain
7 version=0.13.2
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 -D BUILD_WITH_QT6=OFF \
20 -D BUILD_WITH_QT5=ON \
21 -Wno-dev
22 cmake --build build
23 DESTDIR=$PKG cmake --install build
24
25 rm -fr $PKG/usr/share/qt5*
26 }
|