# Template file for 'pcmanfm'
pkgname=pcmanfm
version=1.2.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel libfm-devel"
depends="desktop-file-utils"
conf_files="/etc/xdg/pcmanfm/default/pcmanfm.conf"
short_desc="LXDE file manager"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://pcmanfm.sourceforge.net/"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=38cdbb5f01d24483b41b8e6846e4aa66a5751bb3982a8618899e88a853dbe313

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