2018-09-02 23:29:38 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
|
|
pkgname=qt5-qtfeedback
|
2019-02-14 19:59:01 +00:00
|
|
|
pkgver=0_git20180903
|
2020-01-06 10:19:57 +00:00
|
|
|
pkgrel=1
|
2018-09-02 23:29:38 +00:00
|
|
|
_commit="a14bd0bb1373cde86e09e3619fb9dc70f34c71f2"
|
2020-02-18 14:00:09 +00:00
|
|
|
arch="all"
|
2018-09-02 23:29:38 +00:00
|
|
|
url='http://qt-project.org/'
|
2020-01-06 10:19:57 +00:00
|
|
|
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
|
|
|
|
pkgdesc="Qt Tactile Feedback"
|
2018-09-02 23:29:38 +00:00
|
|
|
depends_dev="qt5-qtdeclarative-dev"
|
|
|
|
makedepends="$depends_dev git"
|
2020-01-06 10:19:57 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/qt/qtfeedback/archive/$_commit.tar.gz"
|
2018-09-02 23:29:38 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
2020-01-06 10:19:57 +00:00
|
|
|
builddir="$srcdir/qtfeedback-$_commit"
|
2018-09-02 23:29:38 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
# Something in the build system only runs the syncqt.pl script when it's in a git repo
|
|
|
|
git init
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
qmake-qt5
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
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="40f58a55bdbeaec91d31a7e7c4ec54e84c002d4b22f607b4b99985b6629bbe90dc98570f36bb736f7b90f078db42481c44b2fd2730f8e6102ebcf8e3e70a847f qt5-qtfeedback-a14bd0bb1373cde86e09e3619fb9dc70f34c71f2.tar.gz"
|