summaryrefslogtreecommitdiff
path: root/user/lxqt-policykit/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-06 13:58:04 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-06 13:58:04 -0500
commitd527e4c56a1e6fec2412cc43a8cb1f324a3d3d40 (patch)
treec93e2112f306261044f0eee39afc084f26bba411 /user/lxqt-policykit/APKBUILD
parent2b7fa547faaf494b476cfe5377543d6f322c8f82 (diff)
downloadpackages-d527e4c56a1e6fec2412cc43a8cb1f324a3d3d40.tar.gz
packages-d527e4c56a1e6fec2412cc43a8cb1f324a3d3d40.tar.bz2
packages-d527e4c56a1e6fec2412cc43a8cb1f324a3d3d40.tar.xz
packages-d527e4c56a1e6fec2412cc43a8cb1f324a3d3d40.zip
user/lxqt-policykit: bump to 0.13.0
Diffstat (limited to 'user/lxqt-policykit/APKBUILD')
-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"