summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoredward-p2019-06-26 21:37:38 +0800
committeredward-p2019-06-26 21:37:38 +0800
commit6a24c48167cf6c4aeee41df97541413babe14339 (patch)
tree39e18e0efb47418ed49acb123c1a756f9fd057f3
parente0e609ab058dbdb0038e8e554c00ec7ce31d3625 (diff)
downloadaur-6a24c48167cf6c4aeee41df97541413babe14339.tar.gz
fix missing light kvantum theme
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD28
2 files changed, 18 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2f8e8b7bd10..2a36d6653d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = canta-kde-git
pkgdesc = Canta theme for kde plasma desktop
pkgver = r6.e2e8841
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/vinceliuice/Canta-kde
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 34fb96bc8ee..c1f8c5598cf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _srcname=canta-kde
pkgname=canta-kde-git
pkgdesc="Canta theme for kde plasma desktop"
pkgver=r6.e2e8841
-pkgrel=1
+pkgrel=2
arch=('any')
url="https://github.com/vinceliuice/Canta-kde"
license=('GPL')
@@ -23,19 +23,25 @@ pkgver() {
)
}
-prepare(){
- cd "${srcdir}/${_srcname}"
- sed -i 's,$HOME/.local/share,'"${pkgdir}"'/usr/share,g' install.sh
- sed -i 's,$HOME/.config,'"${pkgdir}"'/usr/share,g' install.sh
-
-}
package() {
- #Install kde theme
cd "${srcdir}/${_srcname}"
- mkdir -p "${pkgdir}/usr/share/"{aurorae/themes,color-schemes,plasma/desktoptheme,plasma/look-and-feel}
- ./install.sh
- #Install sddm theme
+ mkdir -p "${pkgdir}/usr/share/"{aurorae/themes,color-schemes,plasma/desktoptheme,plasma/look-and-feel,Kvantum}
+
+ _AURORAE_DIR="${pkgdir}/usr/share/aurorae/themes"
+ _SCHEMES_DIR="${pkgdir}/usr/share/color-schemes"
+ _PLASMA_DIR="${pkgdir}/usr/share/plasma/desktoptheme"
+ _LOOKFEEL_DIR="${pkgdir}/usr/share/plasma/look-and-feel"
+ _KVANTUM_DIR="${pkgdir}/usr/share/Kvantum"
+
+ cp -r aurorae/Canta-* ${_AURORAE_DIR}
+ cp -r color-schemes/*.colors ${_SCHEMES_DIR}
+ cp -r Kvantum/Canta-* ${_KVANTUM_DIR}
+ cp -r plasma/desktoptheme/Canta-* ${_PLASMA_DIR}
+ cp -r plasma/look-and-feel/com.github.vinceliuice.* ${_LOOKFEEL_DIR}
+ cp color-schemes/Cantadark.colors ${_PLASMA_DIR}/Canta-dark/colors
+ cp color-schemes/Cantalight.colors ${_PLASMA_DIR}/Canta-light/colors
+
cd sddm
mkdir -p "${pkgdir}/usr/share/sddm/themes"
cp -ur Canta "${pkgdir}/usr/share/sddm/themes"