aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdialog/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-10-10 11:12:16 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-10-10 11:33:11 -0300
commit6b6b3f1f94b78332fce3bbd92fb0d74d2a52288a (patch)
tree983d53674e63685b6675ae5272473bf6416b98d2 /community/kdialog/APKBUILD
parent7d7cc2d8e9e01e85d66547a08d3e7db1a978c7bd (diff)
downloadaports-6b6b3f1f94b78332fce3bbd92fb0d74d2a52288a.tar.bz2
aports-6b6b3f1f94b78332fce3bbd92fb0d74d2a52288a.tar.xz
community/kdialog: move from testing
Diffstat (limited to 'community/kdialog/APKBUILD')
-rw-r--r--community/kdialog/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/kdialog/APKBUILD b/community/kdialog/APKBUILD
new file mode 100644
index 0000000000..d9aa78cbce
--- /dev/null
+++ b/community/kdialog/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kdialog
+pkgver=19.08.1
+pkgrel=0
+arch="all"
+url="https://www.kde.org/"
+pkgdesc="A utility for displaying dialog boxes from shell scripts"
+license="GPL-2.0-or-later AND GFDL-1.2-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev ktextwidgets-dev knotifications-dev kguiaddons-dev kiconthemes-dev kwindowsystem-dev kio-dev kdbusaddons-dev"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+
+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="1463e39edbc62a60522c8039750eeb1a87013f5064aea30f15d8c194272348e5d71fa06746043a320127c8247ad4d3690765b7f01b8b0256bb2f412e169d4835 kdialog-19.08.1.tar.xz"