wok view thunar-volman/receipt @ rev 25279

updated rfkill (0.5 -> 1.0)
author Hans-G?nter Theisgen
date Mon Jul 18 15:03:30 2022 +0100 (2022-07-18)
parents bd7510903310
children fceea4b4808a
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar-volman"
4 VERSION="0.8.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar Volume Manager plugin"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org/"
11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION:0:3}/$TARBALL"
13 DEPENDS="thunar libxfce4ui startup-notification"
14 BUILD_DEPENDS="thunar-dev glibc-locale intltool libexo-dev libgudev-dev libxfce4ui-dev \
15 xfconf-dev startup-notification-dev util-linux-uuid-dev libxml2-dev libnotify-dev
16 libxfce4util-dev xcb-util-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://archive.xfce.org/src/xfce/thunar-volman/$( \
22 wget -O - https://archive.xfce.org/src/xfce/thunar-volman/ 2>/dev/null | \
23 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
24 sed "/hunar-/!d;/tar/!d;s|.*volman-||;s|.tar.*||" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure \
32 --prefix=/usr \
33 --disable-debug \
34 --enable-notifications \
35 --libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/locale $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/icons $fs/usr/share
47 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
49 #gtk-update-icon-cache -f -t $fs/usr/share/icons/hicolor
50 }