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