wok view spacefm/receipt @ rev 24533

updated f3 (7.2 -> 8.0)
author Hans-G?nter Theisgen
date Wed Feb 23 11:14:10 2022 +0100 (2022-02-23)
parents 5ea0ce1cecc0
children
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 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 patch --input=$stuff/patches/prefdlg.ui-$VERSION \
31 data/ui/prefdlg.ui
32 patch --input=$stuff/patches/settings.h-$VERSION \
33 src/settings.h
34 patch --input=$stuff/patches/vfs-file-task.c-$VERSION \
35 src/vfs/vfs-file-task.c
37 ./configure \
38 --with-preferable-sudo="/usr/bin/subox" \
39 --disable-video-thumbnails \
40 --disable-pixmaps \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/share
50 mkdir -p $fs/etc/spacefm
52 cp -a $install/usr/bin $fs/usr
53 for d in applications icons spacefm
54 do
55 cp -a $install/usr/share/$d $fs/usr/share
56 done
57 cp $stuff/spacefm.conf $fs/etc/spacefm
58 cp -a $stuff/xdg $fs/etc
60 # Faenza --> SliTaz
61 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz
62 rm -rf $fs/usr/share/icons/hicolor/128x128
64 # /bin/bash --> /bin/sh
65 sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth
66 }
68 post_install()
69 {
70 echo
71 echo 'Remove or rename /etc/xdg/autostart/spacefm.desktop'
72 echo 'if pcmanfm is to remain desktop manager.'
73 }