summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-12-27 17:30:16 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-27 17:45:26 +0100
commit949a8aa67d7db67037d1db46ed32775d0e65d65d (patch)
treed3070ec3a710a74093efd36c7e6c3fc8138a0871 /community
parente0da76e3a308bf6f909530cb5afb4d1c77fc9418 (diff)
downloadaports-949a8aa67d7db67037d1db46ed32775d0e65d65d.zip
community/kcolorchooser: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/kcolorchooser/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/kcolorchooser/APKBUILD b/community/kcolorchooser/APKBUILD
new file mode 100644
index 00000000000..903ad13a350
--- /dev/null
+++ b/community/kcolorchooser/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kcolorchooser
+pkgver=19.12.0
+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/release-service/$pkgver/src/kcolorchooser-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+options="!check" # No tests
+
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
+
+build() {
+ cd "$builddir"/build
+ cmake "$builddir" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ cd "$builddir"/build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="65588efb51f56b73bb9f287b4aef034b85b33b6a6d93fbe3e6e9d102204ece86b8d605551b87b2a74bb4829abf601de5183d4534e59b9b3c200ff3b3fdcddece kcolorchooser-19.12.0.tar.xz"