summaryrefslogtreecommitdiff
path: root/user/compton-conf
diff options
context:
space:
mode:
Diffstat (limited to 'user/compton-conf')
-rw-r--r--user/compton-conf/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/user/compton-conf/APKBUILD b/user/compton-conf/APKBUILD
index a3688ec97..82425dd58 100644
--- a/user/compton-conf/APKBUILD
+++ b/user/compton-conf/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=compton-conf
-pkgver=0.3.0
+pkgver=0.4.0
pkgrel=0
pkgdesc="GUI configuration tool for the compton X compositor"
url="http://lxqt.org"
@@ -12,7 +12,7 @@ depends_dev=""
makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev libconfig-dev liblxqt-dev lxqt-build-tools $depends_dev"
install=""
subpackages=""
-source="https://github.com/lxde/compton-conf/releases/download/$pkgver/compton-conf-$pkgver.tar.xz"
+source="https://github.com/lxqt/compton-conf/releases/download/$pkgver/compton-conf-$pkgver.tar.xz"
builddir="$srcdir/compton-conf-$pkgver"
# no tests provided
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,13 +31,13 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DPULL_TRANSLATIONS=False \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} ..
make
}
package() {
- cd "$builddir"
+ cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
-sha512sums="1f555dd81f6d12b2440a8af2ad0aea465480c08866a014ca7e34d1ef6aeb34d4953abd53189f6b3354a72818a2cc6d1262704fc20e824e206d5fc693044a7b5e compton-conf-0.3.0.tar.xz"
+sha512sums="7d56cac1d1f749f22b5da35618fce261f66dc57e4378d8fb5203072b82542b775d89b6b91abf053650dc2a738d7310291c9dc6ecbe17fca9e6bc4868c93488c0 compton-conf-0.4.0.tar.xz"