wok-current annotate xfce4-ristretto/receipt @ rev 21145
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 28 14:01:40 2019 +0100 (2019-03-28) |
parents | c86e41198e76 |
children | 17091bc7c301 |
rev | line source |
---|---|
erjo@4867 | 1 # SliTaz package receipt. |
erjo@4867 | 2 |
erjo@4867 | 3 PACKAGE="xfce4-ristretto" |
devl547@16302 | 4 VERSION="0.6.3" |
erjo@4867 | 5 CATEGORY="x-window" |
al@20422 | 6 SHORT_DESC="Picture-viewer for Xfce" |
erjo@4867 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@4867 | 9 SOURCE="ristretto" |
erjo@5847 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20671 | 11 WEB_SITE="https://goodies.xfce.org/projects/applications/ristretto" |
slaxemulator@9018 | 12 WGET_URL="http://archive.xfce.org/src/apps/$SOURCE/${VERSION%.*}/$TARBALL" |
erjo@4867 | 13 |
erjo@9876 | 14 DEPENDS="libxfce4util libxfce4ui libexif dbus-glib thunar gamin xfconf" |
erjo@9876 | 15 BUILD_DEPENDS="xfce4-dev-tools intltool libexif-dev dbus-glib-dev libxfce4util-dev \ |
erjo@9876 | 16 libxfce4ui-dev xfconf-dev" |
erjo@9876 | 17 |
erjo@4867 | 18 # Rules to configure and make the package. |
erjo@4867 | 19 compile_rules() |
erjo@4867 | 20 { |
erjo@4867 | 21 cd $src |
slaxemulator@9018 | 22 ./configure && make && make install |
erjo@4867 | 23 } |
erjo@4867 | 24 |
erjo@4867 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4867 | 26 genpkg_rules() |
erjo@4867 | 27 { |
erjo@4867 | 28 mkdir -p $fs/usr \ |
erjo@4867 | 29 $fs/usr/share/icons/hicolor \ |
erjo@4867 | 30 $fs/usr/share/pixmaps |
erjo@4867 | 31 |
pascal@15000 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 33 cp -a $install/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor |
devl547@16302 | 34 cp -a $install/usr/share/icons/hicolor/48* $fs/usr/share/icons/hicolor |
devl547@16302 | 35 ln -s /usr/share/icons/hicolor/48x48/apps/$SOURCE.png $fs/usr/share/pixmaps/$SOURCE.png |
erjo@4867 | 36 } |
erjo@4867 | 37 |
erjo@4867 | 38 post_install() |
erjo@4867 | 39 { |
pascal@20319 | 40 echo |
erjo@4867 | 41 echo "Execute post-install command" |
pascal@18730 | 42 gtk-update-icon-cache -f -t -q "$1/usr/share/icons/hicolor" |
erjo@4867 | 43 } |
erjo@4867 | 44 |