SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "thunar-volman"

# SliTaz package receipt.

PACKAGE="thunar-volman"
VERSION="0.8.1"
CATEGORY="x-window"
SHORT_DESC="Thunar Volume Manager plugin"
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.xfce.org/"
WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION:0:3}/$TARBALL"

DEPENDS="thunar libxfce4ui startup-notification"
BUILD_DEPENDS="thunar-dev glibc-locale intltool libexo-dev libgudev-dev libxfce4ui-dev \
 xfconf-dev startup-notification-dev util-linux-uuid-dev libxml2-dev libnotify-dev
 libxfce4util-dev xcb-util-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://archive.xfce.org/src/xfce/thunar-volman/$( \
    wget -O - https://archive.xfce.org/src/xfce/thunar-volman/ 2>/dev/null | \
    sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    sed "/hunar-/!d;/tar/!d;s|.*volman-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --disable-debug \
        --enable-notifications \
        --libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/locale $fs/usr/lib
    
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/applications $fs/usr/share
    cp -a $install/usr/share/icons $fs/usr/share
    cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    
    #gtk-update-icon-cache -f -t $fs/usr/share/icons/hicolor
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)