void-packages/srcpkgs/albert/template
2018-03-21 16:18:33 +01:00

28 lines
1.2 KiB
Bash

# Template file for 'albert'
pkgname=albert
version=0.14.16
revision=1
_plugins_hash=c92234731b5dae3baca6eb4e0561cd7ee90e7b56
_pybind_version=2.2.2
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="971ed5cd366488219d3d82c74852818362d940031a80bd1361646f8a56f9bbd8
7755a417ce06f031899e3315c9f631d08b3e4400ec237c93eca92a5446f94f39
b639a2b2cbf1c467849660801c4665ffc1a4d0a9e153ae1996ed6f21c492064e"
post_extract() {
cp -rup ${wrksrc}/../plugins-*/* ${wrksrc}/plugins
cp -rup ${wrksrc}/../pybind11-*/* ${wrksrc}/plugins/python/pybind11
}