# Template file for 'enlightenment'
pkgname=enlightenment
version=0.18.3
revision=1
build_style=gnu-configure
configure_args="--enable-pam"
hostmakedepends="pkg-config efl>=1.8"
makedepends="
 pam-devel efl-devel>=1.8.5 elementary-devel>=1.8.4 evas_generic_loaders>=1.8
 emotion_generic_players>=1.8 hicolor-icon-theme desktop-file-utils"
depends="hicolor-icon-theme desktop-file-utils evas_generic_loaders>=1.8 emotion_generic_players>=1.8"
conf_files="/etc/enlightenment/sysactions.conf"
provides="notification-daemon-0_1"
homepage="http://enlightenment.org"
short_desc="Enlightenment desktop"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
distfiles="http://download.enlightenment.org/rel/apps/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=c8f269c0e1d02fdcd5ed74576056a14485ff8ed51b131f1b252faddd2fb66773

post_install() {
	vmkdir usr/share/licenses/${pkgname}
	install -m644 COPYING* ${DESTDIR}/usr/share/licenses/${pkgname}
	vinstall ${FILESDIR}/e-applications.menu 644 etc/xdg/menus
	rm -rf ${DESTDIR}/usr/share/${pkgname}/doc
}

enlightenment-devel_package() {
	depends="efl-devel>=1.8.5 elementary-devel>=1.8.4 ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
