Subject: [PATCH v2] testing/kde-applications: new aport

From: Bart Ribbers <[email-masked]>
Date: Fri, 12 Jul 2019 21:14:27 +0200

---
This puts all subpackages and depends on their own lines

 testing/kde-applications/APKBUILD | 157 ++++++++++++++++++++++++++++++
 1 file changed, 157 insertions(+)
 create mode 100644 testing/kde-applications/APKBUILD

diff --git a/testing/kde-applications/APKBUILD b/testing/kde-applications/APKBUILD
new file mode 100644
index 0000000000..32f2aa2e00
--- /dev/null
+++ b/testing/kde-applications/APKBUILD
@@ -0,0 +1,157 @@
+# Contributor: Bart Ribbers <[email-masked]>
+# Maintainer: Bart Ribbers <[email-masked]>
+pkgname=kde-applications
+pkgver=19.04.3
+pkgrel=0
+arch="noarch !ppc64le !s390x" # Limited by edu, network and pim
+url="https://kde.org/applications/"
+pkgdesc="KDE Applications meta package"
+license="GPL-3.0-or-later"
+subpackages="
+	$pkgname-accessibility::noarch
+	$pkgname-admin::noarch
+	$pkgname-base::noarch
+	$pkgname-edu
+	$pkgname-games::noarch
+	$pkgname-graphics::noarch
+	$pkgname-multimedia::noarch
+	$pkgname-network
+	$pkgname-pim
+	$pkgname-sdk::noarch
+	$pkgname-utils::noarch
+	$pkgname-webdev::noarch"
+depends="
+	$pkgname-accessibility
+	$pkgname-admin
+	$pkgname-base
+	$pkgname-edu
+	$pkgname-games
+	$pkgname-graphics
+	$pkgname-multimedia
+	$pkgname-network
+	$pkgname-pim
+	$pkgname-utils
+	$pkgname-webdev"
+options="!check" # Meta package
+
+package() {
+	mkdir -p "$pkgdir"
+}
+
+accessibility() {
+	depends="
+		kmag
+		kmousetool
+		kmouth"
+
+	mkdir -p "$subpkgdir"
+}
+
+admin() {
+	depends="
+		kcron"
+
+	mkdir -p "$subpkgdir"
+}
+
+base() {
+	depends="
+		dolphin
+		kdialog
+		kfind
+		keditbookmarks
+		konsole
+		kate
+		kwrite"
+
+	mkdir -p "$subpkgdir"
+}
+
+edu() {
+	depends="
+		marble"
+
+	mkdir -p "$subpkgdir"
+}
+
+games() {
+	depends=""
+
+	mkdir -p "$subpkgdir"
+}
+
+graphics() {
+	depends="
+		gwenview
+		kcolorchooser
+		kolourpaint
+		kruler
+		okular
+		spectacle"
+
+	mkdir -p "$subpkgdir"
+}
+
+multimedia() {
+	depends="
+		audiocd-kio
+		dragon
+		ffmpegthumbs
+		kdenlive
+		kmix
+		kwave"
+
+	mkdir -p "$subpkgdir"
+}
+
+network() {
+	depends="
+		kget
+		krfb
+		zeroconf-ioslave
+		kio-extras"
+
+	mkdir -p "$subpkgdir"
+}
+
+pim() {
+	depends="
+		akregator
+		akonadi-calendar-tools
+		kalarm
+		kleopatra
+		kmail
+		knotes
+		kontact
+		korganizer
+		kdepim-addons
+		grantlee-editor"
+	
+	mkdir -p "$subpkgdir"
+}
+
+sdk() {
+	depends="
+		dolphin-plugins
+		kirigami-gallery"
+
+	mkdir -p "$subpkgdir"
+}
+
+utils() {
+	depends="
+		ark
+		filelight
+		kwalletmanager
+		print-manager
+		sweeper"
+
+	mkdir -p "$subpkgdir"
+}
+
+webdev() {
+	depends=""
+
+	mkdir -p "$subpkgdir"
+}
+
-- 
2.22.0