7dfb3b8d2b
Let pmbootstrap properly parse the package URLs, this is required for the next commit where we start comparing the pkgver of all QT packages - based on the URL like we do it for the KDE packages.
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=qt5-qtvirtualkeyboard
|
|
pkgver=5.12.0
|
|
pkgrel=0
|
|
arch="all"
|
|
url="http://qt-project.org/"
|
|
license="GPL-3.0 GPL-2.0 LGPL-3.0"
|
|
pkgdesc='Virtual keyboard framework'
|
|
depends=""
|
|
depends_dev="qt5-qtsvg-dev"
|
|
makedepends="$depends_dev hunspell-dev qt5-qtbase-dev qt5-qtdeclarative-dev"
|
|
source="http://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/${pkgname/qt5-/}-everywhere-src-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev"
|
|
builddir="$srcdir/${pkgname/qt5-/}-everywhere-src-$pkgver"
|
|
options="!check"
|
|
|
|
build() {
|
|
qmake-qt5 CONFIG+="lang-all handwriting"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
|
find "$pkgdir/usr/lib" -type f -name '*.prl' \
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
|
|
|
install -d "$pkgdir"/usr/share/licenses
|
|
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
|
|
}
|
|
sha512sums="984a4d8eb7fd4aaaee956c65e818467be93540769867023f6a9bb8a6d53bab7fe30d372aaa21cc3fb3642b9e6fa672669d4caacfaa0ed7500dcb126ee4be40f8 qtvirtualkeyboard-everywhere-src-5.12.0.tar.xz"
|