contrib/qtkeychain/Pkgfile

23 lines
656 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: qt5
name=qtkeychain
2020-09-08 17:18:35 +02:00
version=0.11.1
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-09-08 17:18:35 +02:00
cmake -S$name-$version -Bbuild -GNinja \
-DCMAKE_BUILD_TYPE=Release \
2020-02-05 16:46:03 +01:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib/$name \
-DLIBSECRET_SUPPORT=OFF
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
}