wok-next annotate pcmanfm/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19893 9 WEB_SITE="https://wiki.lxde.org/en/PCManFM"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxde/pcmanfm.html"
al@19812 11
pankso@16276 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@21020 13 #WGET_URL="$SF_MIRROR/$PACKAGE/$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@21017 16 BUILD_DEPENDS="intltool xorg-libX11-dev pango-dev libfm-dev gtk2-dev automake"
pankso@255 17
al@20443 18 compile_rules() {
al@19813 19 # tarball from git.lxde.org requires this step
al@19813 20 [ -e "$src/configure" ] || ./autogen.sh
al@19813 21
al@20534 22 ./configure $CONFIGURE_ARGS &&
al@20534 23 make &&
al@20534 24 make install || return 1
al@19317 25
al@20443 26 mkdir -p $install/etc/xdg/pcmanfm/
al@19812 27 # default settings
al@20443 28 cp -r $stuff/default/ $install/etc/xdg/pcmanfm/
al@19812 29 # XDG autostart desktop file (lxsession will use it automatically)
al@20443 30 cp -r $stuff/autostart/ $install/etc/xdg/
al@19812 31 # add custom actions
al@20443 32 mkdir -p $install/usr/share/file-manager
al@20443 33 cp -r $stuff/actions/ $install/usr/share/file-manager
al@19812 34 install -m755 $stuff/gvfs-mount-archive.sh $install/usr/bin
al@19863 35
al@19863 36 # avoid warning about missed modules dir
al@19863 37 mkdir -p $install/usr/lib/pcmanfm
pankso@255 38 }
pankso@255 39
al@20443 40 genpkg_rules() {
al@19812 41 copy @std
al@21017 42 DEPENDS="atk cairo gdk-pixbuf glib gtk2 libfm libfm-gtk pango xorg-libX11"
al@19812 43 SUGGESTED="gvfs"
al@19812 44 TAGS="file-manager"
pankso@255 45 }