wok-next view pcmanfm/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents cedb51a0e63e
children d5aab818505e
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="pankso@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/files/$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_arm="gtk2-dev dbus-glib-dev dbus-dev startup-notification-dev \
17 xorg-libxcb-dev xorg-xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk \
18 gtk-doc libtool"
19 BUILD_DEPENDS="intltool xorg-libX11-dev pango-dev libfm-dev gtk2-dev automake"
21 compile_rules() {
22 # tarball from git.lxde.org requires this step
23 [ -e "$src/configure" ] || ./autogen.sh
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install || return 1
29 mkdir -p $install/etc/xdg/pcmanfm/
30 # default settings
31 cp -r $stuff/default/ $install/etc/xdg/pcmanfm/
32 # XDG autostart desktop file (lxsession will use it automatically)
33 cp -r $stuff/autostart/ $install/etc/xdg/
34 # add custom actions
35 mkdir -p $install/usr/share/file-manager
36 cp -r $stuff/actions/ $install/usr/share/file-manager
37 install -m755 $stuff/gvfs-mount-archive.sh $install/usr/bin
39 # avoid warning about missed modules dir
40 mkdir -p $install/usr/lib/pcmanfm
41 }
43 genpkg_rules() {
44 copy @std
45 DEPENDS="atk cairo gdk-pixbuf glib gtk2 libfm libfm-gtk pango xorg-libX11"
46 SUGGESTED="gvfs"
47 TAGS="file-manager"
48 }