wok view spacefm/receipt @ rev 23778
updated xorg-xkbcomp (1.4.2 -> 1.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 20 17:26:45 2020 +0100 (2020-05-20) |
parents | 19141648d795 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="spacefm"
4 VERSION="1.0.6"
5 CATEGORY="system-tools"
6 TAGS="file-manager"
7 SHORT_DESC="Light, fast and easy to use file manager."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://ignorantguru.github.io/spacefm/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/IgnorantGuru/$PACKAGE/archive/$VERSION.tar.gz"
15 DEPENDS="bash dbus dbus-glib expat gdk-pixbuf glib glibc-base gtk+ libgio
16 libxcb startup-notification udev udevil util-linux-uuid xcb-util"
17 BUILD_DEPENDS="coreutils-file-special dbus-dev dbus-glib-dev expat-dev
18 gdk-pixbuf-dev gtk+-dev intltool libxcb-dev startup-notification-dev
19 udev-dev xcb-util-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 patch --input=$stuff/patches/prefdlg.ui-$VERSION \
25 data/ui/prefdlg.ui
26 patch --input=$stuff/patches/settings.h-$VERSION \
27 src/settings.h
28 patch --input=$stuff/patches/vfs-file-task.c-$VERSION \
29 src/vfs/vfs-file-task.c
31 ./configure \
32 --with-preferable-sudo="/usr/bin/subox" \
33 --disable-video-thumbnails \
34 --disable-pixmaps \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share
44 mkdir -p $fs/etc/spacefm
46 cp -a $install/usr/bin $fs/usr
47 for d in applications icons spacefm
48 do
49 cp -a $install/usr/share/$d $fs/usr/share
50 done
51 cp $stuff/spacefm.conf $fs/etc/spacefm
52 cp -a $stuff/xdg $fs/etc
54 # Faenza --> SliTaz
55 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz
56 rm -rf $fs/usr/share/icons/hicolor/128x128
58 # /bin/bash --> /bin/sh
59 sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth
60 }
62 post_install()
63 {
64 echo
65 echo 'Remove or rename /etc/xdg/autostart/spacefm.desktop'
66 echo 'if pcmanfm is to remain desktop manager.'
67 }