0f5fd1f8fc
Don't use cmake to copy the files to the target path, because it would install to the wrong directory: /usr/lib/qml/QtQuick/VirtualKeyboard/Styles/Plasma/ instead of: /usr/lib/qt5/qml/QtQuick/VirtualKeyboard/Styles/Plasma/ I've spent some time trying to figure out why it does that, but could not find it right away. This is just a legacy component, so not worth spending much time on this detail.
26 lines
1.2 KiB
Text
26 lines
1.2 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
# Co-Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
pkgname=qtvirtualkeyboard-plasma
|
|
pkgver=0_git20200921
|
|
pkgrel=1
|
|
_commit="0ebc1639efc6172866aa8706b3c8f1a83bf74b9e"
|
|
pkgdesc="Plasma qtvirtualkeyboard style"
|
|
url="https://invent.kde.org/bshah/qtvirtualkeyboard-plasma"
|
|
# armhf blocked by extra-cmake-modules
|
|
arch="noarch !armhf"
|
|
license="LicenseRef-KDE-Accepted-GPL"
|
|
depends="qt5-qtquickcontrols2 qt5-qtvirtualkeyboard"
|
|
source="https://invent.kde.org/bshah/qtvirtualkeyboard-plasma/-/archive/$_commit/qtvirtualkeyboard-plasma-$_commit.tar.gz"
|
|
options="!check" # No tests
|
|
builddir="$srcdir/$pkgname-$_commit/qtvirtualkeyboardplugin"
|
|
replaces="plasma-phone-components-vkbd-style"
|
|
|
|
package() {
|
|
# Don't use the CMakeLists.txt, it installs to the wrong dir (ondev#33)
|
|
for i in style.qml images/*.svg; do
|
|
install -v -Dm644 "$i" \
|
|
"$pkgdir/usr/lib/qt5/qml/QtQuick/VirtualKeyboard/Styles/Plasma/$i"
|
|
done
|
|
}
|
|
|
|
sha512sums="49e6a0043a46c6707e4898e560a67b121a094e4ed92f7e4b920af56b68631b5cc74c9f8f1a2ed7312199d67695a3809bd273751d98f9c7df6e64a1efebbf5698 qtvirtualkeyboard-plasma-0ebc1639efc6172866aa8706b3c8f1a83bf74b9e.tar.gz"
|