wok view spacefm/receipt @ rev 22760

updated findutils (4.6.0 -> 4.7.0)
author Hans-G?nter Theisgen
date Fri Jan 24 17:10:12 2020 +0100 (2020-01-24)
parents 5d53e8ccbc8d
children 21b253037828
line source
1 # SliTaz package receipt.
3 PACKAGE="spacefm"
4 VERSION="0.9.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light, fast and easy to use file manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://ignorantguru.github.io/spacefm/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
12 TAGS="file-manager"
14 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
15 gtk+ startup-notification dbus dbus-glib gdk-pixbuf udev bash udevil"
16 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
17 libxcb-dev xcb-util-dev expat-dev gdk-pixbuf-dev intltool udev-dev \
18 coreutils-file-special"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 patch -Np1 -i $stuff/prefdlg.ui.diff
24 patch -Np1 -i $stuff/settings.h.diff
25 patch -Np1 -i $stuff/vfs-file-task.c.diff
27 export LDFLAGS="$LDFLAGS -lxcb-util"
28 ./configure \
29 --with-preferable-sudo="/usr/bin/subox" \
30 --disable-pixmaps \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share $fs/etc/spacefm
39 cp -a $install/usr/bin $fs/usr
40 for d in applications icons spacefm; do
41 cp -a $install/usr/share/$d $fs/usr/share
42 done
43 cp $stuff/spacefm.conf $fs/etc/spacefm
44 cp -a $stuff/xdg $fs/etc
45 # Faenza --> SliTaz
46 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz
47 rm -rf $fs/usr/share/icons/hicolor/128x128
48 # /bin/bash --> /bin/sh
49 sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth
50 }