diff options
Diffstat (limited to 'user/qtkeychain')
-rw-r--r-- | user/qtkeychain/APKBUILD | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/user/qtkeychain/APKBUILD b/user/qtkeychain/APKBUILD index e54f1682d..8a61af1eb 100644 --- a/user/qtkeychain/APKBUILD +++ b/user/qtkeychain/APKBUILD @@ -6,16 +6,14 @@ pkgrel=0 pkgdesc="Platform-independent Qt-based API for storing passwords securely" url="https://github.com/frankosterfeld/qtkeychain" arch="all" -options="!check" # no tests +options="!check" # No test suite. license="BSD-3-Clause" -depends_dev="" +depends="" makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev" -install="" subpackages="$pkgname-dev" source="qtkeychain-$pkgver.tar.gz::https://github.com/frankosterfeld/qtkeychain/archive/v$pkgver.tar.gz" build() { - cd "$builddir" if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi @@ -26,22 +24,15 @@ build() { -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ - ${CMAKE_CROSSOPTS} + ${CMAKE_CROSSOPTS} . make } check() { - cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } -check() { - cd "$builddir" - make check -} - package() { - cd "$builddir" make DESTDIR="$pkgdir" install } |