summaryrefslogtreecommitdiff
path: root/user/lxqt-config
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-06 00:11:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-06 00:11:58 +0000
commit0c5b26444fd47efa86c29f8a0661ab601f6a8ddd (patch)
treea887ceec12b79929fc620a2dcdc223b4fc7da22d /user/lxqt-config
parentc16b7147097e6052bb643518cb07b205d187b12f (diff)
downloadpackages-0c5b26444fd47efa86c29f8a0661ab601f6a8ddd.tar.gz
packages-0c5b26444fd47efa86c29f8a0661ab601f6a8ddd.tar.bz2
packages-0c5b26444fd47efa86c29f8a0661ab601f6a8ddd.tar.xz
packages-0c5b26444fd47efa86c29f8a0661ab601f6a8ddd.zip
user/*: Modernise / fix syntax / deps / mark no-check where applicable
Diffstat (limited to 'user/lxqt-config')
-rw-r--r--user/lxqt-config/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/user/lxqt-config/APKBUILD b/user/lxqt-config/APKBUILD
index 7f29e3e72..5f64da9ce 100644
--- a/user/lxqt-config/APKBUILD
+++ b/user/lxqt-config/APKBUILD
@@ -16,29 +16,25 @@ subpackages="$pkgname-doc"
source="https://github.com/lxqt/lxqt-config/releases/download/$pkgver/lxqt-config-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
- mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- ${CMAKE_CROSSOPTS} ..
- make -j1
+ ${CMAKE_CROSSOPTS} -Bbuild
+ make -j1 -C build
}
check() {
- cd "$builddir"/build
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+ CTEST_OUTPUT_ON_FAILURE=TRUE make -C build test
}
package() {
- cd "$builddir"/build
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C build install
}
sha512sums="747644f8e0623cb2e8eadda57c7307387423152a089d5b423b06650fbf235371764a26e82363cbee9db5c1145e3fdb754e6ecdcf0930dccec375dda424c8b13f lxqt-config-0.14.1.tar.xz"