Upstream added a gtk2 platform theme
This commit is contained in:
parent
1902d7bcc3
commit
7fd304eb3e
1
.SRCINFO
1
.SRCINFO
@ -3,6 +3,7 @@ pkgbase = qt5-styleplugins
|
||||
pkgver = 5.0.0
|
||||
pkgrel = 2
|
||||
url = https://code.qt.io/cgit/qt/qtstyleplugins
|
||||
install = install.sh
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = LGPL
|
||||
|
2
PKGBUILD
2
PKGBUILD
@ -21,6 +21,8 @@ sha512sums=(
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
install='install.sh'
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_srcname}"
|
||||
|
||||
|
17
install.sh
Normal file
17
install.sh
Normal file
@ -0,0 +1,17 @@
|
||||
_5_0_0_2_changes() {
|
||||
echo ':: Upstream added a gtk2 platform theme'
|
||||
echo ' unexport `QT_STYLE_OVERRIDE`'
|
||||
echo ' export `QT_QPA_PLATFORMTHEME=gtk2`'
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
local versions=(
|
||||
'5.0.0-2'
|
||||
)
|
||||
local version
|
||||
for version in "${versions[@]}"; do
|
||||
if [[ "$( vercmp "${version}" "${2}" )" -eq 1 ]]; then
|
||||
"$( printf '_%s_changes' "${version}" | perl -p -e 's/\.|-/_/g' )"
|
||||
fi
|
||||
done
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user