summaryrefslogtreecommitdiff
path: root/user/qastools
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/qastools
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/qastools')
-rw-r--r--user/qastools/APKBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/user/qastools/APKBUILD b/user/qastools/APKBUILD
index 0161221f4..0586a751d 100644
--- a/user/qastools/APKBUILD
+++ b/user/qastools/APKBUILD
@@ -11,9 +11,9 @@ depends="bash"
makedepends="alsa-lib-dev cmake eudev-dev qt5-qtbase-dev qt5-qtsvg-dev
qt5-qttools-dev"
subpackages="$pkgname-doc $pkgname-lang"
+langdir="/usr/share/qastools/l10n"
source="https://gitlab.com/sebholt/qastools/-/archive/v$pkgver/qastools-v$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-v$pkgver"
-langdir="/usr/share/qastools/l10n"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -24,8 +24,7 @@ build() {
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- -DCMAKE_C_FLAGS="$CFLAGS" \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}