diff options
-rw-r--r-- | user/qps/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/user/qps/APKBUILD b/user/qps/APKBUILD index b9f3f2e7b..9b9cba6a1 100644 --- a/user/qps/APKBUILD +++ b/user/qps/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> # Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> pkgname=qps -pkgver=1.10.17 +pkgver=1.10.18 pkgrel=0 pkgdesc="Qt-based task manager" url="https://github.com/QtDesktop" @@ -12,7 +12,7 @@ depends_dev="" makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev qt5-qttools-dev libxrender-dev $depends_dev" install="" subpackages="$pkgname-doc" -source="https://github.com/QtDesktop/qps/releases/download/$pkgver/qps-$pkgver.tar.xz +source="https://github.com/lxqt/qps/releases/download/$pkgver/qps-$pkgver.tar.xz qps-1.10.17-compile-fixes.patch" builddir="$srcdir/qps-$pkgver" # no tests provided @@ -23,6 +23,7 @@ build() { 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 \ @@ -30,19 +31,19 @@ build() { -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ - ${CMAKE_CROSSOPTS} + ${CMAKE_CROSSOPTS} .. make } check() { - cd "$builddir" + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { - cd "$builddir" + cd "$builddir"/build make DESTDIR="$pkgdir" install } -sha512sums="81d4ef9cdd732edc6dd060998f10124663d26ec8250fc1de62eb020624111eb3ba595058bd74d5cee1bde84326f26579ab40c4ed7ef58f0aa44baca96921cfb5 qps-1.10.17.tar.xz +sha512sums="f2647cb814e6cefba71aa70ee63c92dde88b312c9ada67e677de2bf22141afa3d7196d089606d270b610ddf3bd7466e6534de3614bea1a68d3a3b61a23b1c37d qps-1.10.18.tar.xz 32c154f1d3c9e74dda3eabfd2e3b9e9f3c1d77f808dfacc9dd05c904066832d92d361ca56ef9d784d945fad60cf67d6c909cbb730a0ffed1fea3bf44c3aad5a2 qps-1.10.17-compile-fixes.patch" |