contrib/qtkeychain/Pkgfile

23 lines
656 B
Plaintext

# 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: qt5
name=qtkeychain
version=0.11.1
release=1
source=(https://github.com/frankosterfeld/$name/archive/v$version/$name-$version.tar.gz)
build() {
cmake -S$name-$version -Bbuild -GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib/$name \
-DLIBSECRET_SUPPORT=OFF
cmake --build build
DESTDIR=$PKG cmake --install build
rm -fr $PKG/usr/share/qt5*
}