wok annotate thunar-volman/receipt @ rev 25576
Up nimrod (1.6.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 13 17:57:27 2023 +0000 (19 months ago) |
parents | bd7510903310 |
children | fceea4b4808a |
rev | line source |
---|---|
erjo@2072 | 1 # SliTaz package receipt. |
erjo@2072 | 2 |
erjo@2072 | 3 PACKAGE="thunar-volman" |
erkan@22421 | 4 VERSION="0.8.1" |
erjo@2072 | 5 CATEGORY="x-window" |
erjo@4145 | 6 SHORT_DESC="Thunar Volume Manager plugin" |
erjo@2072 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@2072 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20679 | 10 WEB_SITE="https://www.xfce.org/" |
pascal@24976 | 11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION:0:3}/$TARBALL" |
erjo@2072 | 12 |
erjo@10020 | 13 DEPENDS="thunar libxfce4ui startup-notification" |
erjo@10020 | 14 BUILD_DEPENDS="thunar-dev glibc-locale intltool libexo-dev libgudev-dev libxfce4ui-dev \ |
erjo@14833 | 15 xfconf-dev startup-notification-dev util-linux-uuid-dev libxml2-dev libnotify-dev |
pascal@19759 | 16 libxfce4util-dev xcb-util-dev" |
erjo@10020 | 17 |
pascal@24505 | 18 # What is the latest version available today? |
pascal@24505 | 19 current_version() |
pascal@24505 | 20 { |
pascal@24505 | 21 wget -O - https://archive.xfce.org/src/xfce/thunar-volman/$( \ |
pascal@24505 | 22 wget -O - https://archive.xfce.org/src/xfce/thunar-volman/ 2>/dev/null | \ |
pascal@24505 | 23 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24505 | 24 sed "/hunar-/!d;/tar/!d;s|.*volman-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24505 | 25 } |
pascal@24505 | 26 |
erjo@2072 | 27 # Rules to configure and make the package. |
erjo@2072 | 28 compile_rules() |
erjo@2072 | 29 { |
erjo@2072 | 30 cd $src |
erjo@14833 | 31 ./configure \ |
erjo@14833 | 32 --prefix=/usr \ |
erjo@14833 | 33 --disable-debug \ |
erjo@14833 | 34 --enable-notifications \ |
erjo@14833 | 35 --libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \ |
erjo@14833 | 36 make && make install |
erjo@2072 | 37 } |
erjo@2072 | 38 |
erjo@2072 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2072 | 40 genpkg_rules() |
erjo@2072 | 41 { |
pascal@4234 | 42 mkdir -p $fs/usr/share/locale $fs/usr/lib |
erjo@2072 | 43 |
erjo@14833 | 44 cp -a $install/usr/bin $fs/usr |
erjo@14833 | 45 cp -a $install/usr/share/applications $fs/usr/share |
erjo@14833 | 46 cp -a $install/usr/share/icons $fs/usr/share |
erjo@14833 | 47 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
erjo@14833 | 48 |
erjo@14833 | 49 #gtk-update-icon-cache -f -t $fs/usr/share/icons/hicolor |
erjo@2072 | 50 } |
erjo@2072 | 51 |