# Template file for 'razor-qt'
pkgname=razor-qt
version=0.5.2
revision=4
wrksrc="razorqt-${version}"
build_style=cmake
configure_args="-DLIB_SUFFIX="
short_desc="The free and open source lightweight desktop environment"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://razor-qt.org"
distfiles="${DEBIAN_SITE}/main/r/razorqt/razorqt_${version}.orig.tar.xz"
#distfiles="http://razor-qt.org/downloads/razorqt-${version}.tar.bz2"
checksum=e1a8068328f662f5744b7573561ab396a9f30211e10373ac0ac3eba8ecd4232b

hostmakedepends="cmake pkg-config"
makedepends="qt-devel polkit-qt-devel>=0.103.0_2
 libudev-devel libXrender-devel libXcomposite-devel libXcursor-devel
 libXdamage-devel libstatgrab-devel libsensors-devel pulseaudio-devel
 alsa-lib-devel lightdm-devel"
depends="openbox oxygen-icons"
conf_files="
	/etc/razor/session.conf
	/etc/razor/razor.conf
	/etc/razor/windowmanagers.conf
	/etc/razor/razor-panel
	/etc/razor/razor-panel/panel.conf
	/etc/razor/desktop.conf"

razor-qt-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
