summaryrefslogtreecommitdiff
path: root/user/compton-conf
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2017-10-11 19:00:26 +0000
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2017-10-11 19:00:26 +0000
commita73b773ac7c21b3fe8b3780c7323237e7270ebd2 (patch)
tree6d7fbba235a0379a8a4bb0a1f794c5da9d995302 /user/compton-conf
parent9a50c553a27f617b2dafb43bd73eb65146dce6ca (diff)
downloadpackages-a73b773ac7c21b3fe8b3780c7323237e7270ebd2.tar.gz
packages-a73b773ac7c21b3fe8b3780c7323237e7270ebd2.tar.bz2
packages-a73b773ac7c21b3fe8b3780c7323237e7270ebd2.tar.xz
packages-a73b773ac7c21b3fe8b3780c7323237e7270ebd2.zip
user/compton-conf: new package
Diffstat (limited to 'user/compton-conf')
-rw-r--r--user/compton-conf/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/compton-conf/APKBUILD b/user/compton-conf/APKBUILD
new file mode 100644
index 000000000..7445c6074
--- /dev/null
+++ b/user/compton-conf/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=compton-conf
+pkgver=0.3.0
+pkgrel=0
+pkgdesc="GUI configuration tool for the compton X compositor."
+url="http://lxqt.org"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+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"
+builddir="$srcdir/compton-conf-$pkgver"
+# no tests provided
+options="!check"
+
+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" \
+ -DPULL_TRANSLATIONS=False \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="1f555dd81f6d12b2440a8af2ad0aea465480c08866a014ca7e34d1ef6aeb34d4953abd53189f6b3354a72818a2cc6d1262704fc20e824e206d5fc693044a7b5e compton-conf-0.3.0.tar.xz"