wok-next annotate pcmanfm/receipt @ rev 20856

Update libfm-extra, menu-cache, libfm, pcmanfm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 17:13:37 2018 +0300 (2018-06-26)
parents cac2c0130f0d
children f48456621a9d
rev   line source
al@19812 1 # SliTaz package receipt v2.
pankso@255 2
pascal@13351 3 PACKAGE="pcmanfm"
al@20639 4 VERSION="1.3.0"
pankso@255 5 CATEGORY="system-tools"
al@19812 6 SHORT_DESC="Light and easy to use file manager"
pankso@255 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19893 9 WEB_SITE="https://wiki.lxde.org/en/PCManFM"
al@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/pcmanfm.html"
al@19812 11
pankso@16276 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@20856 13 #WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" # SF download problems
psychomaniak@18130 14 WGET_URL="http://git.lxde.org/gitweb/?p=lxde/pcmanfm.git;a=snapshot;h=$VERSION;sf=txz"
pankso@12544 15
al@19812 16 BUILD_DEPENDS_arm="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
al@20639 17 xorg-libxcb-dev xorg-xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk \
al@20639 18 gtk-doc libtool"
al@19813 19 BUILD_DEPENDS="intltool xorg-libX11-dev pango-dev libfm-dev gtk+-dev automake"
pankso@255 20
al@20443 21 compile_rules() {
al@19813 22 # tarball from git.lxde.org requires this step
al@19813 23 [ -e "$src/configure" ] || ./autogen.sh
al@19813 24
al@20534 25 ./configure $CONFIGURE_ARGS &&
al@20534 26 make &&
al@20534 27 make install || return 1
al@19317 28
al@20443 29 mkdir -p $install/etc/xdg/pcmanfm/
al@19812 30 # default settings
al@20443 31 cp -r $stuff/default/ $install/etc/xdg/pcmanfm/
al@19812 32 # XDG autostart desktop file (lxsession will use it automatically)
al@20443 33 cp -r $stuff/autostart/ $install/etc/xdg/
al@19812 34 # add custom actions
al@20443 35 mkdir -p $install/usr/share/file-manager
al@20443 36 cp -r $stuff/actions/ $install/usr/share/file-manager
al@19812 37 install -m755 $stuff/gvfs-mount-archive.sh $install/usr/bin
al@19863 38
al@19863 39 # avoid warning about missed modules dir
al@19863 40 mkdir -p $install/usr/lib/pcmanfm
pankso@255 41 }
pankso@255 42
al@20443 43 genpkg_rules() {
al@19812 44 copy @std
al@20856 45 DEPENDS="atk cairo gdk-pixbuf glib gtk+ libfm libfm-gtk pango xorg-libX11"
al@19812 46 SUGGESTED="gvfs"
al@19812 47 TAGS="file-manager"
pankso@255 48 }