aboutsummaryrefslogtreecommitdiffstats
path: root/testing/materia-kde/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-20 21:13:39 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-21 01:35:30 +0000
commitfe118070673d3687d95383834e902a936a6f5b96 (patch)
treebb8d61e8a54df5fb6a98ac10bec94be901fc24eb /testing/materia-kde/APKBUILD
parent8e415af91cd5125f89731dec8b27008064e452ce (diff)
downloadaports-fe118070673d3687d95383834e902a936a6f5b96.tar.gz
aports-fe118070673d3687d95383834e902a936a6f5b96.tar.bz2
aports-fe118070673d3687d95383834e902a936a6f5b96.tar.xz
testing/materia-kde: new aport
https://github.com/PapirusDevelopmentTeam/materia-kde Materia theme from GNOME for KDE Plasma 5
Diffstat (limited to 'testing/materia-kde/APKBUILD')
-rw-r--r--testing/materia-kde/APKBUILD134
1 files changed, 134 insertions, 0 deletions
diff --git a/testing/materia-kde/APKBUILD b/testing/materia-kde/APKBUILD
new file mode 100644
index 0000000000..548e69c0f1
--- /dev/null
+++ b/testing/materia-kde/APKBUILD
@@ -0,0 +1,134 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=materia-kde
+pkgver=20200312
+pkgrel=0
+pkgdesc="Materia theme from GNOME for KDE Plasma 5"
+options="!check" # It is a theme
+url="https://github.com/PapirusDevelopmentTeam/materia-kde"
+arch="noarch"
+license="GPL-3.0-only"
+subpackages="
+ materia-kde-plasma:_plasma:noarch
+ materia-dark-kde-plasma:_dark_plasma:noarch
+ materia-light-kde-plasma:_light_plasma:noarch
+
+ materia-kde-konsole:_konsole:noarch
+ materia-dark-kde-konsole:_dark_konsole:noarch
+
+ materia-dark-kde-yakuake:_dark_yakuake:noarch
+ materia-light-kde-yakuake:_light_yakuake:noarch
+
+ materia-kde-kvantum:_kvantum:noarch
+ materia-dark-kde-kvantum:_dark_kvantum:noarch
+ materia-dark-compact-kde-kvantum:_dark_compact_kvantum:noarch
+ materia-light-kde-kvantum:_light_kvantum:noarch
+ materia-light-compact-kde-kvantum:_light_compact_kvantum:noarch
+ "
+source="$pkgname-$pkgver.tar.gz::https://github.com/PapirusDevelopmentTeam/materia-kde/archive/$pkgver/materia-kde-$pkgver.tar.gz"
+
+package() {
+ install -d "$pkgdir"/usr/share
+
+ for dir in plasma aurorae color-schemes konsole yakuake Kvantum; do
+ cp -r "$dir" "$pkgdir"/usr/share
+ done
+}
+
+_plasma() {
+ pkgdesc="Plasma assets for KDE version of Materia"
+ install_if="materia plasma-desktop"
+
+ amove usr/share/plasma/desktoptheme/Materia
+ amove usr/share/plasma/desktoptheme/Materia-Blur
+ amove usr/share/plasma/desktoptheme/Materia-Mono
+ amove usr/share/plasma/desktoptheme/Materia-Blur-Mono
+ amove usr/share/plasma/look-and-feel
+
+}
+
+_dark_plasma() {
+ pkgdesc="Plasma assets for dark KDE version of Materia"
+ depends="materia-plasma"
+ install_if="materia-dark plasma-desktop"
+
+ amove usr/share/aurorae/themes/Materia-Dark
+ amove usr/share/color-schemes/MateriaDark.colors
+}
+
+_light_plasma() {
+ pkgdesc="Plasma assets for light KDE version of Materia"
+ depends="materia-plasma"
+ install_if="materia-light plasma-desktop"
+
+ amove usr/share/aurorae/themes/Materia-Light
+ amove usr/share/color-schemes/MateriaLight.colors
+}
+
+_konsole() {
+ pkgdesc="Konsole assets for KDE version of Materia"
+ install_if="materia konsole"
+
+ amove usr/share/konsole/Materia.colorscheme
+}
+
+_dark_konsole() {
+ pkgdesc="Konsole assets for dark KDE version of Materia"
+ install_if="materia-dark konsole"
+
+ amove usr/share/konsole/MateriaDark.colorscheme
+}
+
+_dark_yakuake() {
+ pkgdesc="Yakuake assets for dark KDE version of Materia"
+ install_if="materia-dark yakuake"
+
+ amove usr/share/yakuake/skins/materia-dark
+}
+
+_light_yakuake() {
+ pkgdesc="Yakuake assets for light KDE version of Materia"
+ install_if="materia-light yakuake"
+
+ amove usr/share/yakuake/skins/materia-light
+}
+
+_kvantum() {
+ pkgdesc="Kvantum assets for KDE version of Materia"
+ install_if="materia kvantum"
+
+ amove usr/share/Kvantum/Materia
+ amove usr/share/Kvantum/MateriaBlur
+}
+
+_dark_kvantum() {
+ pkgdesc="Kvantum assets for dark KDE version of Materia"
+ install_if="materia-dark kvantum"
+
+ amove usr/share/Kvantum/MateriaDark
+}
+
+_dark_compact_kvantum() {
+ pkgdesc="Kvantum assets for dark KDE version of Materia"
+ depends="materia-dark-kde-kvantum"
+ install_if="materia-dark-compact kvantum"
+
+ mkdir -p "$subpkgdir"
+}
+
+_light_kvantum() {
+ pkgdesc="Kvantum assets for light KDE version of Materia"
+ install_if="materia-light kvantum"
+
+ amove usr/share/Kvantum/MateriaLight
+}
+
+_light_compact_kvantum() {
+ pkgdesc="Kvantum assets for light KDE version of Materia"
+ depends="materia-light-kde-kvantum"
+ install_if="materia-light-compact kvantum"
+
+ mkdir -p "$subpkgdir"
+}
+
+sha512sums="b143c74ffca8cbfd6268ce8b98e4270551c6a52c8ddbc87727ba4c7fc6de64036f3683cc4abd7c8a413badafc92b1b27fd9f5db97ccd264ec4b06684f1a0d8a4 materia-kde-20200312.tar.gz"