summaryrefslogtreecommitdiff
path: root/pcr-testing/parabola-theme-blackmate
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-05-25 15:07:23 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2018-05-25 16:02:11 -0400
commite2945f81c5c8b7a400516ee9b7abcef5c0d9b26d (patch)
tree21941ec54213c6a1aabd48245567e47bf66e1018 /pcr-testing/parabola-theme-blackmate
parent0178674ffac7742e8d6256a91b323c95a7858409 (diff)
[parabola-theme-blackmate]: add qt5ct deps
Diffstat (limited to 'pcr-testing/parabola-theme-blackmate')
-rw-r--r--pcr-testing/parabola-theme-blackmate/PKGBUILD9
-rw-r--r--pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install17
2 files changed, 22 insertions, 4 deletions
diff --git a/pcr-testing/parabola-theme-blackmate/PKGBUILD b/pcr-testing/parabola-theme-blackmate/PKGBUILD
index 5530b8e03..09dc2baea 100644
--- a/pcr-testing/parabola-theme-blackmate/PKGBUILD
+++ b/pcr-testing/parabola-theme-blackmate/PKGBUILD
@@ -3,17 +3,18 @@
pkgname=parabola-theme-blackmate
pkgver=3.22.16
-pkgrel=parabola1
+pkgrel=parabola3
pkgdesc="Parabola's dark desktop theme"
arch=('any')
license=('GPL3')
url=https://mate-desktop.org
-depends=()
+depends=('qt5ct' 'qt5-styleplugins')
makedepends=('git')
source=(https://git.parabola.nu/artwork.git/snapshot/official%2F2018.tar.gz)
-sha256sums=('d697952ebd0007a5bd0f9bfd46dede7a7b9ccfdf14c4db29f411e689f5ecf4fc')
+install=$pkgname.install
+sha256sums=('d1c57dabfc735ca6eef2f116d8c83ac1c5c1f20f89a6b5f5459982c822186044')
package()
@@ -21,7 +22,7 @@ package()
cd $srcdir/official/2018/gtk-themes/parabola-blackmate
mkdir -p ${pkgdir}/usr/share/themes/parabola-blackmate
- for ea in apps cinnamon gtk-2.0 gtk-3.0 metacity-1 unity index.theme
+ for ea in apps cinnamon gtk-2.0 gtk-3.0 metacity-1 qt5ct unity index.theme
do cp -r $ea ${pkgdir}/usr/share/themes/parabola-blackmate/$ea
done
}
diff --git a/pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install b/pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install
new file mode 100644
index 000000000..be4aab294
--- /dev/null
+++ b/pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install
@@ -0,0 +1,17 @@
+post_install() {
+
+ touch /etc/environment
+ grep "^QT_QPA_PLATFORMTHEME='*qt5ct'*" /etc/environment && \
+ sed "s|QT_QPA_PLATFORMTHEME=.*|QT_QPA_PLATFORMTHEME='qt5ct'|g" /etc/environment || \
+ sed "$ a\QT_QPA_PLATFORMTHEME='qt5ct'" /etc/environment
+
+
+ cat << _EOF
+
+==> Installation:
+==> To allow QT programs to follow the theme: 'parabola-theme-blackmate';
+==> either copy /usr/share/themes/parabola-blackmate/qt5ct/qt5ct.conf to ~/.config/qt5ct/
+==> or run the `qt5ct` program and select the theme: 'gtk2'.
+
+_EOF
+}