# Template file for 'pcmanfm'
pkgname=pcmanfm
version=1.3.2
revision=1
build_style=gnu-configure
configure_args="--with-gtk=3"
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel libfm-gtk+3-devel"
depends="desktop-file-utils"
short_desc="LXDE file manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://pcmanfm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=14cb7b247493c4cce65fbb5902611e3ad00a7a870fbc1e50adc50428c5140cf7
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
}
