# Template file for 'razor-qt'
pkgname=razor-qt
version=0.5.2
revision=1
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="http://razor-qt.org/downloads/razorqt-${version}.tar.bz2"
checksum=ac8a890eba7a24a20a2c0ea7a5020c6001853997c1e1b1b927ff4700b0e0e1ad
long_desc="
 Razor-qt is an advanced, easy-to-use, and fast desktop environment based on
 Qt technologies. It has been tailored for users who value simplicity, speed,
 and an intuitive interface. Unlike most desktop environments, Razor-qt also
 works fine with weak machines."

makedepends="cmake pkg-config 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 openbox upower udisks oxygen-icons"

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

razor-qt_package() {
	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"
	depends="openbox upower udisks oxygen-icons"
	pkg_install() {
		vmove etc
		vmove usr
	}
}
