35 lines
1.4 KiB
Bash
35 lines
1.4 KiB
Bash
# Template file for 'albert'
|
|
pkgname=albert
|
|
version=0.16.1
|
|
revision=1
|
|
_plugins_hash=029bd8ccb58c4452bd82ab42be8739f1639e42d4
|
|
_pybind_version=2.2.4
|
|
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 qt5-charts-devel"
|
|
depends="qt5-plugin-sqlite qt5-quickcontrols qt5-graphicaleffects"
|
|
short_desc="Lightweight desktop environment agnostic launcher"
|
|
maintainer="Nemh <nemh@protonmail.com>"
|
|
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="e244b5825ef453221b221d76df30f8496c2e176ec6b9c26db21735d8e809956a
|
|
1986041e464c87e7ccc4f01b0eb4302f101aa3d62f5b02929fc97f68b3a38623
|
|
b69e83658513215b8d1443544d0549b7d231b9f201f6fc787a2b2218b408181e"
|
|
|
|
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
|
|
}
|