2018-09-02 23:29:38 +00:00
|
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
|
|
pkgname=qt5-qtpim
|
2019-03-14 06:34:40 +00:00
|
|
|
pkgver=0_git20190227
|
|
|
|
_commit="0b4522ae19d560881fdf85e8762c0d7f28310d50"
|
2020-01-06 09:14:45 +00:00
|
|
|
pkgrel=1
|
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 09:14:45 +00:00
|
|
|
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
|
2018-09-02 23:29:38 +00:00
|
|
|
pkgdesc='Qt Personal Information Management'
|
|
|
|
depends_dev="qt5-qtdeclarative-dev"
|
|
|
|
makedepends="$depends_dev git"
|
2020-01-06 09:14:45 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/qt/qtpim/archive/$_commit.tar.gz"
|
2018-09-02 23:29:38 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
2020-01-06 09:14:45 +00:00
|
|
|
builddir="$srcdir/qtpim-$_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
|
|
|
|
}
|
2019-03-14 06:34:40 +00:00
|
|
|
sha512sums="e4304c6d67b12d48321510cf6e9f5efebdf8134dc58fb4a06a1ee07a1b52c55aed1e4e99a914e2cd0fd9bf0d47c1c376fca694e88d70405cc9a7b700aba4c22d qt5-qtpim-0b4522ae19d560881fdf85e8762c0d7f28310d50.tar.gz"
|