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

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
}
