blob: 4f901633a0171e93523a0e683ecbc168e38060aa (
plain) (
tree)
|
|
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=compton-conf
pkgver=0.14.0
pkgrel=0
pkgdesc="GUI configuration tool for the Compton X compositor"
url="https://lxqt.org"
arch="all"
options="!check" # No test suite.
license="LGPL-2.1+"
depends=""
makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev
libconfig-dev liblxqt-dev lxqt-build-tools>=0.6.0"
subpackages=""
source="https://github.com/lxqt/compton-conf/releases/download/$pkgver/compton-conf-$pkgver.tar.xz"
build() {
cd "$builddir"
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 \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} ..
make
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
sha512sums="dd5b722a24a9a69523960f2978d14c40b2a3cc5cfbe8215abde5aaa7dbb2c2e68711f15c61e4275d8527d07cda90066607f8523ad26225c63d8c9a5b124a0218 compton-conf-0.14.0.tar.xz"
|