wok-current view thunar-archive-plugin/receipt @ rev 25297

updated scrollz (2.3 -> 2.3.1)
author Hans-G?nter Theisgen
date Wed Jul 20 06:44:28 2022 +0100 (2022-07-20)
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 }