wok view thunar-archive-plugin/receipt @ rev 9610

bash: Fixed bash pre_remove function to work with --root in tazpkg.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Apr 15 14:55:42 2011 +0000 (2011-04-15)
parents 5ddb80e703d5
children 2d429c0a2022
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 DEPENDS="thunar"
9 BUILD_DEPENDS="intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
12 WGET_URL="http://archive.xfce.org/src/thunar-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --libexecdir=/usr/lib && \
19 make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/locale \
26 $fs/usr/lib/thunarx-2
28 cp -a $_pkg/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
29 cp -a $_pkg/usr/share/icons $fs/usr/share
30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
31 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
33 # Fix perms
34 chmod 755 $fs/usr/lib/thunar-archive-plugin/*
36 # Cleanup
37 rm -f $fs/usr/lib/thunarx-2/*.*a
38 }