# Maintainer: Zach van Rijn pkgname=qt5-qtlocation _pkgname=${pkgname#*-}-everywhere-src pkgver=5.15.3_git20201103 pkgrel=0 _commit=861e372b6ad81570d4f496e42fb25a6699b72f2f pkgdesc="Qt5 Location API provides the developer with a set of functions to interact with maps, navigational data and places of interest" url="https://www.qt.io/" arch="all" license="LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0" depends="" makedepends="qt5-qtbase-dev" subpackages="$pkgname-dev" source="https://invent.kde.org/qt/qt/${pkgname#*-}/-/archive/$_commit/${pkgname#*-}-$_commit.tar.gz" builddir="$srcdir"/${pkgname#*-}-$_commit prepare() { default_prepare # Make configure think we are running in a git directory # This makes it symlink the include files to the right directory mkdir .git } build() { qmake make } check() { make check } package() { make install INSTALL_ROOT="$pkgdir" } sha512sums="b7cac8cd42185504c6140f1dcd4e8c0c749e3d8f22bf9977e97268e0ad6fbd3733e571a255ab7824eba31e30e707e804b07317f2ec9b7be15a4a5756c78c9e41 qtlocation-861e372b6ad81570d4f496e42fb25a6699b72f2f.tar.gz"