wok view thunar/receipt @ rev 25635
Update some websites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 24 14:46:31 2023 +0000 (10 months ago) |
parents | 87f1b8852b4c |
children | e88f253845ac |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar"
4 VERSION="1.6.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar File Manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="Thunar"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.xfce.org"
12 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 TAGS="file-manager"
15 DEPENDS="libpng jpeg gtk+ libxfce4util dbus-glib libexo pcre libexif libgudev \
16 gamin libxfce4ui startup-notification util-linux-uuid libnotify libxfconf"
17 BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxml2-dev dbus-glib-dev \
18 libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \
19 startup-notification-dev util-linux-uuid-dev libnotify-dev libxfconf-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 "/hunar-/!d;/tar/!d;s|.*hunar-||;s|.tar.*||" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --prefix=/usr \
34 --sysconfdir=/etc \
35 --enable-dbus \
36 --enable-startup-notification \
37 --enable-notifications \
38 --enable-gio-unix \
39 --enable-gudev \
40 --libexecdir=/usr/lib \
41 --enable-debug=no \
42 $CONFIGURE_ARGS &&
43 make && make install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p \
50 $fs/usr/share \
51 $fs/usr/lib/thunarx-2
53 cp -a $install/etc $fs
54 cp -a $install/usr/bin $fs/usr
56 cp -a $install/usr/lib/Thunar $fs/usr/lib
57 cp -a $install/usr/lib/*.so* $fs/usr/lib
58 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
59 cp -a $install/usr/share/dbus-1 $fs/usr/share
61 cp -a $install/usr/share/applications $fs/usr/share
62 cp -a $install/usr/share/icons $fs/usr/share
63 cp -a $install/usr/share/pixmaps $fs/usr/share
64 cp -a $install/usr/share/Thunar $fs/usr/share
65 }