From 4964561dd017e5a18ddfad3961deca89c97dc3b6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 10 Jun 2013 09:48:50 +0200 Subject: [PATCH] pcmanfm: provide a default config file for lxde (fixes issue #82). --- srcpkgs/pcmanfm/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pcmanfm/template b/srcpkgs/pcmanfm/template index 4e71dade5e..86d2dd3061 100644 --- a/srcpkgs/pcmanfm/template +++ b/srcpkgs/pcmanfm/template @@ -1,7 +1,7 @@ # Template file for 'pcmanfm' pkgname=pcmanfm version=1.1.0 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config intltool" makedepends="gtk+-devel libfm-devel>=1.1.0" @@ -12,11 +12,16 @@ 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 etc - vmove usr + vmove all } }