# Template file for 'albert' pkgname=albert version=0.14.19 revision=1 _plugins_hash=d71c4676c4c94e1760112a8a3850594b6ba3a1db _pybind_version=2.2.3 build_style=cmake configure_args="-DBUILD_VIRTUALBOX=OFF" makedepends="libqalculate-devel muparser-devel python-devel qt5-declarative-devel qt5-svg-devel qt5-x11extras-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds" depends="qt5-plugin-sqlite" short_desc="Lightweight desktop environment agnostic launcher" maintainer="Nemh " license="GPL-3.0-or-later, BSD-3-Clause" homepage="https://github.com/albertlauncher/albert" distfiles="https://github.com/albertlauncher/albert/archive/v${version}.tar.gz https://github.com/albertlauncher/plugins/archive/${_plugins_hash}.tar.gz https://github.com/pybind/pybind11/archive/v${_pybind_version}.tar.gz" checksum="ec0f4f344c25a87b7ccaaa2feefac9b7e67185fb978b6369cb4f34b16975d1b9 ec0519de807a9f4f18e4ad5736ffc1d40fff668499b19c5463d58b6f4f727a08 3a3b7b651afab1c5ba557f4c37d785a522b8030dfc765da26adc2ecd1de940ea" if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake" fi post_extract() { cp -rup ../plugins-${_plugins_hash}/* plugins cp -rup ../pybind11-${_pybind_version}/* plugins/python/pybind11 } post_install() { vlicense ../pybind11-${_pybind_version}/LICENSE }