# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set branch [join [lrange [split ${version} .] 0 1] .]
description Ristretto is a fast and lightweight picture-viewer \
for the Xfce desktop environment.
long_description ${description}
homepage https://www.xfce.org
master_sites http://archive.xfce.org/src/apps/${name}/${branch}/
checksums sha256 3a0be4526c93ec0ebbf2e63e69dd0c98f16b20b863d3b6426272592e5b00cea2 \
rmd160 df01ed7d722f4c1b47f2bec1b660a0519641c6d1 \
depends_build port:intltool port:pkgconfig
depends_lib port:gtk2 port:xfconf path:lib/pkgconfig/cairo.pc:cairo port:libxfce4util \
port:libxfce4ui port:libexif port:dbus-glib port:desktop-file-utils
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"