summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorD3SOX2020-09-01 18:07:41 +0200
committerD3SOX2020-09-01 18:07:41 +0200
commit7efaf7a86463b9dddac20831ee124d51b7bc8ebc (patch)
tree64b13485dde3794140b9eb3a5fad0d3d37d59b6f
parente2e10a16da2772b8a4ce7e1055ab6d2293c5418f (diff)
downloadaur-7efaf7a86463b9dddac20831ee124d51b7bc8ebc.tar.gz
make plasma-desktop optional
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 04dcec9cf35..d65560a4e95 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,7 @@ pkgbase = whitesur-kde-theme-git
arch = any
license = GPL3
makedepends = git
- depends = plasma-desktop
+ optdepends = plasma-desktop: for included plasma theme
optdepends = kvantum-qt5: for included kvantum theme
optdepends = sddm: for included sddm theme
optdepends = whitesur-icon-theme-git: matching icon theme
diff --git a/PKGBUILD b/PKGBUILD
index 465ff0f5c13..55460516faa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,8 +8,7 @@ pkgdesc="MacOS big sur like theme for KDE Plasma"
arch=('any')
url="https://github.com/vinceliuice/${_gitname}"
license=('GPL3')
-depends=('plasma-desktop')
-optdepends=('kvantum-qt5: for included kvantum theme' 'sddm: for included sddm theme' 'whitesur-icon-theme-git: matching icon theme' 'whitesur-cursor-theme-git: matching cursor theme' 'whitesur-gtk-theme-git: matching gtk theme' 'latte-dock: for included latte theme')
+optdepends=('plasma-desktop: for included plasma theme' 'kvantum-qt5: for included kvantum theme' 'sddm: for included sddm theme' 'whitesur-icon-theme-git: matching icon theme' 'whitesur-cursor-theme-git: matching cursor theme' 'whitesur-gtk-theme-git: matching gtk theme' 'latte-dock: for included latte theme')
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')
@@ -50,6 +49,6 @@ package() {
# latte
mkdir -p "$HOME/.config/latte"
cp -r "${srcdir}/${_gitname}/latte-dock"/* "$HOME/.config/latte"
- echo "The package installed a latte-dock theme which is not deleted on removal. (Located in $HOME/.config/latte)"
+ warning "The package installed a latte-dock theme which is not deleted on removal. (Located in $HOME/.config/latte)"
}