SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg

Receipt for package "thunar"

# SliTaz package receipt. 

PACKAGE="thunar"
VERSION="1.6.6"
CATEGORY="x-window"
TAGS="file-manager"
SHORT_DESC="Thunar File Manager."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://docs.xfce.org/xfce/thunar/start"

SOURCE="Thunar"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"

DEPENDS="dbus-glib gamin gtk+ jpeg libexif libexo libgudev libnotify libpng
    libxfce4ui libxfce4util pcre startup-notification util-linux-uuid xfconf"
BUILD_DEPENDS="dbus-glib-dev jpeg-dev gtk+-dev intltool    libexo-dev libgudev-dev
    libnotify-dev libpng-dev libxfce4ui-dev libxfce4util-dev libxml2-dev
    startup-notification-dev util-linux-uuid-dev xcb-util-dev
    xfconf-dev zlib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null |
    sed '/released/!d;s| released.*||;s|.*thunar ||'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --sysconfdir=/etc        \
        --enable-dbus            \
        --enable-startup-notification    \
        --enable-notifications        \
        --enable-gio-unix        \
        --enable-gudev            \
        --libexecdir=/usr/lib        \
        --enable-debug=no        \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    etc
    cook_copy_folders    bin

    cook_copy_files        *.so*
    cp -a $install/usr/lib/Thunar    $fs/usr/lib
    cook_copy_folders    dbus-1

    cook_copy_folders    icons
    cp -a $install/usr/share/Thunar $fs/usr/share
    cook_copy_folders    pixmaps
}

6011 packages and 861670 files in cooking database (Sun May 11 00:50:42 2025)