wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcmanfm"
4 VERSION="1.3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light and easy to use file manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.lxde.org/en/PCManFM"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxde/pcmanfm.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # SF download problems
14 WGET_URL="http://git.lxde.org/gitweb/?p=lxde/pcmanfm.git;a=snapshot;h=$VERSION;sf=txz"
16 BUILD_DEPENDS="intltool xorg-libX11-dev pango-dev libfm-dev gtk2-dev automake"
18 compile_rules() {
19 # tarball from git.lxde.org requires this step
20 [ -e "$src/configure" ] || ./autogen.sh
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 make install || return 1
26 mkdir -p $install/etc/xdg/pcmanfm/
27 # default settings
28 cp -r $stuff/default/ $install/etc/xdg/pcmanfm/
29 # XDG autostart desktop file (lxsession will use it automatically)
30 cp -r $stuff/autostart/ $install/etc/xdg/
31 # add custom actions
32 mkdir -p $install/usr/share/file-manager
33 cp -r $stuff/actions/ $install/usr/share/file-manager
34 install -m755 $stuff/gvfs-mount-archive.sh $install/usr/bin
36 # avoid warning about missed modules dir
37 mkdir -p $install/usr/lib/pcmanfm
38 }
40 genpkg_rules() {
41 copy @std
42 DEPENDS="atk cairo gdk-pixbuf glib gtk2 libfm libfm-gtk pango xorg-libX11"
43 SUGGESTED="gvfs"
44 TAGS="file-manager"
45 }