wok-current view thunar-archive-plugin/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (2 months ago) |
parents | 17091bc7c301 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar-archive-plugin"
4 VERSION="0.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar Archive Manager plugin"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
11 WGET_URL="https://archive.xfce.org/src/thunar-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="thunar"
14 BUILD_DEPENDS="intltool thunar-dev libexo-dev libxfce4ui-dev \
15 xfconf-dev startup-notification-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
21 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure --libexecdir=/usr/lib \
30 $CONFIGURE_ARGS && \
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/locale \
38 $fs/usr/lib/thunarx-2
40 cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
41 cp -a $install/usr/share/icons $fs/usr/share
42 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
43 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
45 # Fix perms
46 chmod 755 $fs/usr/lib/thunar-archive-plugin/*
48 # Cleanup
49 rm -f $fs/usr/lib/thunarx-2/*.*a
50 }