summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/lxqt-policykit/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/user/lxqt-policykit/APKBUILD b/user/lxqt-policykit/APKBUILD
index 5e3751320..778c97744 100644
--- a/user/lxqt-policykit/APKBUILD
+++ b/user/lxqt-policykit/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=lxqt-policykit
-pkgver=0.12.0
+pkgver=0.13.0
pkgrel=0
pkgdesc="PolicyKit agent for LXQT"
url="http://lxqt.org"
@@ -9,10 +9,10 @@ arch="all"
license="LGPL-2.1+"
depends=""
depends_dev=""
-makedepends="cmake extra-cmake-modules liblxqt-dev>=0.12.0 lxqt-build-tools qt5-qttools-dev kwindowsystem-dev polkit-qt-1-dev $depends_dev"
+makedepends="cmake extra-cmake-modules liblxqt-dev>=0.12.0 lxqt-build-tools>=0.5.0 qt5-qttools-dev kwindowsystem-dev polkit-qt-1-dev $depends_dev"
install=""
subpackages=""
-source="https://github.com/lxde/lxqt-policykit/releases/download/$pkgver/lxqt-policykit-$pkgver.tar.xz"
+source="https://github.com/lxqt/lxqt-policykit/releases/download/$pkgver/lxqt-policykit-$pkgver.tar.xz"
builddir="$srcdir/lxqt-policykit-$pkgver"
# no useful tests
options="!check"
@@ -22,6 +22,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,18 +31,18 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DPULL_TRANSLATIONS=False \
- ${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="42502c3e8364266f4532941a38872c40255fcbf2df70aac06d731992216b7b59e03a34f8d2d31bf61e36f47bfff93ef1a81f64ef5a4f5ace881597eb3f948a1e lxqt-policykit-0.12.0.tar.xz"
+sha512sums="c02525ed60c3882b9fc431630a750937425f8ff296fa82112a2e88cb9d5b96767e2a8ff514daeee5d6dded96536cbb4520bc7bccb6c8fbe4e405168435f9f22e lxqt-policykit-0.13.0.tar.xz"