summaryrefslogtreecommitdiff
path: root/user/qtkeychain/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 07:29:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 07:29:53 +0000
commitb6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc (patch)
treee7c5ff1bfd6f49364d87466892354339e448727a /user/qtkeychain/APKBUILD
parent095e14b7e22e82ed4c1719894fe1f432b67ee3d0 (diff)
downloadpackages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.tar.gz
packages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.tar.bz2
packages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.tar.xz
packages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.zip
user/*: Modernise / fix syntax / metadata / deps
Diffstat (limited to 'user/qtkeychain/APKBUILD')
-rw-r--r--user/qtkeychain/APKBUILD15
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
}