void-packages/srcpkgs/albert/template

29 lines
1.2 KiB
Bash

# Template file for 'albert'
pkgname=albert
version=0.14.14
revision=1
_plugins_hash=a5ee438af138d6e069384edc749d097bb0038c56
_pybind_version=2.2.1
build_style=cmake
configure_args="-DBUILD_VIRTUALBOX=OFF"
hostmakedepends="git qt5-host-tools qt5-qmake"
makedepends="muparser-devel python-devel qt5-svg-devel qt5-x11extras-devel
qt5-declarative-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="8abfa38f306e26d2419549a15fffc8d8b5b466c2e189f566c7b9e8f1e1491bdf
f5a893f3a2c85e466dbc6ec981819f679279dba9bc2cfab7d9301f88ade6d2c6
f8bd1509578b2a1e7407d52e6ee8afe64268909a1bbda620ca407318598927e7"
post_extract() {
cp -rup ${wrksrc}/../plugins-*/* ${wrksrc}/plugins
cp -rup ${wrksrc}/../pybind11-*/* ${wrksrc}/plugins/python/pybind11
}