# Template file for 'exo'
pkgname=exo
version=0.10.2
revision=1
build_style=gnu-configure
configure_args="--disable-static"
makedepends="pkg-config intltool gtk+-devel libxfce4util-devel libxfce4ui-devel perl-URI"
short_desc="Application library for the Xfce desktop environment"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://xfce.org"
distfiles="http://archive.se.xfce.org/src/xfce/exo/0.10/exo-${version}.tar.bz2"
checksum=b385828bf8a38204da3254b57fdfa25a72694495aa189fabd5040f707eec76ce

exo-devel_package() {
	depends="gtk+-devel libxfce4util-devel exo-${version}_${revision}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/bin/exo-csource
		vmove usr/share/man/man1/exo-csource.1
		vmove "usr/share/*doc"
	}
}

exo_package() {
	depends="hicolor-icon-theme desktop-file-utils perl-URI"
	conf_files="/etc/xdg/xfce4/helpers.rc"
	pkg_install() {
		vmove etc
		vmove usr
	}
}
