void-packages/srcpkgs/lumina/template

41 lines
1.1 KiB
Bash

# Template file for 'lumina
pkgname=lumina
version=0.8.2
revision=1
wrksrc=lumina-qt5-${version}
hostmakedepends="qt5-qmake qt5-tools"
makedepends="qt5-devel qt5-x11extras-devel qt5-multimedia-devel qt5-svg-devel
libXrender-devel libXcomposite-devel libXdamage-devel
xcb-util-devel xcb-util-wm-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="ea014d9a8e3dd29a53d8d685fcbff9348041d21151fd7e064e73b8017a3b2a3f"
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"
}
}