contrib/qtkeychain/Pkgfile

27 lines
799 B
Plaintext
Raw Normal View History

2019-06-11 23:45:48 +02:00
# Description: QtKeychain is a QT API to store passwords and other secret data securely
# URL: https://github.com/frankosterfeld/qtkeychain
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libsecret qt5
2019-06-11 23:45:48 +02:00
name=qtkeychain
2021-11-18 16:39:36 +01:00
version=0.13.2
2019-06-11 23:45:48 +02:00
release=1
source=(https://github.com/frankosterfeld/$name/archive/v$version/$name-$version.tar.gz)
build() {
2020-11-08 13:15:34 +01:00
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_INSTALL_LIBEXECDIR=lib/$name \
-D CMAKE_BUILD_TYPE=Release \
2020-12-07 01:01:28 +01:00
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D BUILD_WITH_QT6=OFF \
-D BUILD_WITH_QT5=ON \
2020-11-08 13:15:34 +01:00
-Wno-dev
2020-09-08 17:18:35 +02:00
cmake --build build
DESTDIR=$PKG cmake --install build
rm -fr $PKG/usr/share/qt5*
2019-06-11 23:45:48 +02:00
}