summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr-testing/parabola-theme-blackmate/PKGBUILD9
-rw-r--r--pcr-testing/parabola-theme-blackmate/parabola-theme-blackmate.install17
-rw-r--r--pcr/grub2-theme-gnuaxiom/grub2-theme-gnuaxiom.install2
3 files changed, 23 insertions, 5 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
+}
diff --git a/pcr/grub2-theme-gnuaxiom/grub2-theme-gnuaxiom.install b/pcr/grub2-theme-gnuaxiom/grub2-theme-gnuaxiom.install
index a8470e53b..4ef5d56a1 100644
--- a/pcr/grub2-theme-gnuaxiom/grub2-theme-gnuaxiom.install
+++ b/pcr/grub2-theme-gnuaxiom/grub2-theme-gnuaxiom.install
@@ -7,4 +7,4 @@ post_install() {
==> Update grub:# grub-mkconfig -o /boot/grub/grub.cfg
_EOF
-} \ No newline at end of file
+}