summaryrefslogtreecommitdiff
path: root/user/lxqt-powermanagement
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-06 14:04:00 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-06 14:04:00 -0500
commitc11c03a75fdc214f33c6d1fd5cd236e748604366 (patch)
tree4fcf2e70b83a7a20d2cb442678110ad94e811fd6 /user/lxqt-powermanagement
parentd527e4c56a1e6fec2412cc43a8cb1f324a3d3d40 (diff)
downloadpackages-c11c03a75fdc214f33c6d1fd5cd236e748604366.tar.gz
packages-c11c03a75fdc214f33c6d1fd5cd236e748604366.tar.bz2
packages-c11c03a75fdc214f33c6d1fd5cd236e748604366.tar.xz
packages-c11c03a75fdc214f33c6d1fd5cd236e748604366.zip
user/lxqt-powermanagement: bump to 0.13.0
Diffstat (limited to 'user/lxqt-powermanagement')
-rw-r--r--user/lxqt-powermanagement/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/user/lxqt-powermanagement/APKBUILD b/user/lxqt-powermanagement/APKBUILD
index 2f0fbebd7..dbd3a7307 100644
--- a/user/lxqt-powermanagement/APKBUILD
+++ b/user/lxqt-powermanagement/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=lxqt-powermanagement
-pkgver=0.12.0
+pkgver=0.13.0
pkgrel=0
pkgdesc="Power management utilities for LXQt"
url="http://lxqt.org"
@@ -9,10 +9,10 @@ arch="all"
license="LGPL-2.1+"
depends=""
depends_dev=""
-makedepends="cmake extra-cmake-modules lxqt-build-tools liblxqt-dev upower-dev kidletime-dev qt5-qtsvg-dev qt5-qttools-dev kwindowsystem-dev solid-dev $depends_dev"
+makedepends="cmake extra-cmake-modules lxqt-build-tools>=0.5.0 liblxqt-dev upower-dev kidletime-dev qt5-qtsvg-dev qt5-qttools-dev kwindowsystem-dev solid-dev $depends_dev"
install=""
subpackages=""
-source="https://github.com/lxde/lxqt-powermanagement/releases/download/$pkgver/lxqt-powermanagement-$pkgver.tar.xz"
+source="https://github.com/lxqt/lxqt-powermanagement/releases/download/$pkgver/lxqt-powermanagement-$pkgver.tar.xz"
builddir="$srcdir/lxqt-powermanagement-$pkgver"
build() {
@@ -20,6 +20,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 \
@@ -28,18 +29,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="a4e607cb69945b2b85131e2f0209185b1322fa4b19de3d950b73f681052f4eb3fdb5b29a70c7df9baed7e1ae79793d433cb5b3fec42133e86fd645aa4e8e11d4 lxqt-powermanagement-0.12.0.tar.xz"
+sha512sums="849bcd0739e30b0450d358e23edb9bf800e3804e0929d78d9d08c640355b6eb9351df458025fc381215734690ea902ec1896f5e070fd19ad006520148233d77d lxqt-powermanagement-0.13.0.tar.xz"