aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kcolorchooser
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-25 12:54:33 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-25 10:47:34 -0300
commit643ce1f9257e20e164542015c6947353c7a7ebf1 (patch)
tree654d7bf3dbd8031bb37642a394190162a18ebda0 /testing/kcolorchooser
parent8845c4df6b192fd8823049694be5d40227d5edf0 (diff)
downloadaports-643ce1f9257e20e164542015c6947353c7a7ebf1.tar.bz2
aports-643ce1f9257e20e164542015c6947353c7a7ebf1.tar.xz
testing/kcolorchooser: new aport
Diffstat (limited to 'testing/kcolorchooser')
-rw-r--r--testing/kcolorchooser/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kcolorchooser/APKBUILD b/testing/kcolorchooser/APKBUILD
new file mode 100644
index 0000000000..83860e4dd2
--- /dev/null
+++ b/testing/kcolorchooser/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kcolorchooser
+pkgver=19.04.2
+pkgrel=0
+arch="all"
+url="https://kde.org/applications/graphics/org.kde.kcolorchooser"
+pkgdesc="A color palette tool, used to mix colors and create custom color palettes"
+license="MIT"
+makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kxmlgui-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+options="!check" # No tests
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="14aa1edc8852544ce4415fde03ef00191127d1c2b55fda61ad20e1e9c41a43bb276ea720b8d6a77f513decbdbefc31c2eabbc8c66bea5e985cec948ff71cdd90 kcolorchooser-19.04.2.tar.xz"