diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-10-11 14:12:40 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-10-11 14:14:15 +0200 |
commit | ba95a098380de3c708a38dbecc0a8aae077d7574 (patch) | |
tree | 3eb462f07c054f5f66b67454289d1992c8cd8d71 /testing/compton-conf | |
parent | efd00c5b6344af82f1475a2138cdfdda7844a415 (diff) | |
download | aports-ba95a098380de3c708a38dbecc0a8aae077d7574.tar.bz2 aports-ba95a098380de3c708a38dbecc0a8aae077d7574.tar.xz |
testing/compton-conf: new aport
Diffstat (limited to 'testing/compton-conf')
-rw-r--r-- | testing/compton-conf/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/compton-conf/APKBUILD b/testing/compton-conf/APKBUILD new file mode 100644 index 0000000000..831c4451af --- /dev/null +++ b/testing/compton-conf/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=compton-conf +pkgver=0.3.0 +pkgrel=0 +pkgdesc="GUI configuration tool for compton X composite manager" +url="https://github.com/lxde/compton-conf" +arch="all" +license="LGPL-2.1" +depends="" +makedepends="cmake libconfig-dev qt5-qtbase-dev qt5-qttools-dev lxqt-build-tools" +install="" +options="!check" +subpackages="" +source="compton-conf-$pkgver.tar.gz::https://github.com/lxde/compton-conf/archive/$pkgver.tar.gz" +builddir="$srcdir/compton-conf-$pkgver" + +build() { + cd "$builddir" + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux \ + -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + 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} \ + -DPULL_TRANSLATIONS=False + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="30ecc5f25a3d0aec5ac266a55c1798b875e0dafb4fe73fef6f1e50814be104822139ef0b5bf509824132ecd2dfef4845522b1351da5a40c2977121e5c1d2bcf9 compton-conf-0.3.0.tar.gz" |