wok view xfce4-ristretto/receipt @ rev 25717

xfce4-session: remove files belonging to xfce4-session-dev
author Hans-G?nter Theisgen
date Thu Aug 15 09:23:33 2024 +0100 (3 months ago)
parents bd7510903310
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-ristretto"
4 VERSION="0.8.5"
5 CATEGORY="x-window"
6 TAGS="image viewer"
7 SHORT_DESC="Picture-viewer for Xfce."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://docs.xfce.org/apps/ristretto/start"
12 SOURCE="ristretto"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="https://archive.xfce.org/src/apps/$SOURCE/${VERSION%.*}/$TARBALL"
16 SUGGESTED="tumbler" # to show previews in thumbnail bar
17 DEPENDS="dbus-glib libexif libxfce4ui libxfce4util xfconf"
18 BUILD_DEPENDS="dbus-glib-dev intltool libexif-dev libxfce4ui-dev
19 libxfce4util-dev xfconf-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
25 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
26 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/icons/hicolor
41 mkdir -p $fs/usr/share/pixmaps
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
45 cp -a $install/usr/share/icons/hicolor/48* $fs/usr/share/icons/hicolor
46 ln -s /usr/share/icons/hicolor/48x48/apps/$SOURCE.png \
47 $fs/usr/share/pixmaps/$SOURCE.png
48 }
50 post_install()
51 {
52 echo
53 echo "Executing post-install command"
54 gtk-update-icon-cache -f -t -q "$1/usr/share/icons/hicolor"
55 }