void-packages/srcpkgs/lumina/template

41 lines
1.1 KiB
Bash

# Template file for 'lumina
pkgname=lumina
version=0.8.5
revision=1
wrksrc=lumina-qt5-${version}
hostmakedepends="qt5-qmake qt5-tools"
makedepends="qt5-devel qt5-x11extras-devel qt5-multimedia-devel qt5-svg-devel
qt5-declarative-devel libXrender-devel libXcomposite-devel libXdamage-devel
xcb-util-devel xcb-util-wm-devel xcb-util-image-devel"
depends="fluxbox numlockx xbacklight alsa-utils acpi xscreensaver oxygen-icons"
short_desc="Lumina Desktop Environment"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="https://github.com/pcbsd/lumina"
distfiles="https://github.com/pcbsd/lumina/archive/qt5/${version}.tar.gz"
checksum=7c452ce5867a3a3b4096a29d4b9a16fcf00f10d3657ca6faa0bd0e24dc7510ad
disable_parallel_build=yes
replaces="lumina-git>=0"
do_configure() {
qmake PREFIX=/usr QT5LIBDIR=/usr/lib/qt5
}
do_build() {
make ${makejobs}
}
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vlicense LICENSE
}
lumina-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}