contrib/qtkeychain/Pkgfile

25 lines
734 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-12-21 14:49:05 +01:00
version=0.12.0
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" \
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
}