# Template file for 'pcmanfm'
pkgname=pcmanfm
version=1.1.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel libfm-devel>=1.1.0"
short_desc="LXDE file manager"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pcmanfm.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=1f6301f330ad648f3322708ec6c0f680a8695a9453932fe19653bab6731e5582

post_install() {
	vmkdir usr/share/lxde/pcmanfm
	ln -sf /etc/xdg/pcmanfm/default/pcmanfm.conf \
		${DESTDIR}/usr/share/lxde/pcmanfm/pcmanfm.conf
}

pcmanfm_package() {
	conf_files="/etc/xdg/pcmanfm/default/pcmanfm.conf"
	depends="libfm>=1.1.0 desktop-file-utils"
	pkg_install() {
		vmove all
	}
}
