void-packages/srcpkgs/lumina/template

41 lines
1.1 KiB
Bash

# Template file for 'lumina
pkgname=lumina
version=0.8.4
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 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=a52247b0783c38394760fb949b0a1ca97f500c6b929e67e5c5cf19bcceedecb0
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"
}
}