void-packages/srcpkgs/albert/template

32 lines
1.2 KiB
Bash

# Template file for 'albert'
pkgname=albert
version=0.14.18
revision=1
_plugins_hash=c59061f179032974c4a1b46dc045bdbb57614255
_pybind_version=2.2.2
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 <nemh@protonmail.com>"
license="GPL-3"
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="074b8dc50032edc8fbeb6efc9743b39cb8aa0619f9c8ae9441b9074eac14bd8c
8cae60c57e694a47ee1060340ab19c2b29cccbaf1ec8309f1053ccf16161ae70
b639a2b2cbf1c467849660801c4665ffc1a4d0a9e153ae1996ed6f21c492064e"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake"
fi
post_extract() {
cp -rup ${wrksrc}/../plugins-*/* ${wrksrc}/plugins
cp -rup ${wrksrc}/../pybind11-*/* ${wrksrc}/plugins/python/pybind11
}