wok-next view xarchiver/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xarchiver"
4 VERSION="0.5.4.14"
5 CATEGORY="x-window"
6 SHORT_DESC="A GTK+ lightweight archive manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 #WEB_SITE="https://wiki.lxde.org/en/Xarchiver"
10 WEB_SITE="https://github.com/ib/xarchiver"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/ib/xarchiver/archive/$VERSION.tar.gz"
14 TARBALL_SHA1="db763b3eaf926ebfc78ba0f647902d0d3764a813"
16 BUILD_DEPENDS="gtk2-dev intltool libxslt docbook-xsl"
17 DEPENDS="gdk-pixbuf glib gtk2"
19 # binutils for ar; busybox also contains gzip & cpio; rar is get-rar; gtar is absent
20 SUGGESTED="arj binutils bzip2 cpio gzip lha lzma lzop p7zip-full rar xz zip"
22 COPY="@std index.html xarchiver-add.png xarchiver-extract.png" # 24x24 skipped by default
23 COOKOPTS="skip-log-errors"
25 compile_rules() {
26 ./configure $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 docdir="$install/usr/share/doc/$PACKAGE-$VERSION"
32 mv $docdir/index.html $docdir/index.orig.html
33 install -Dm644 $stuff/xarchiver.cgi $install/var/www/cgi-bin/xarchiver.cgi
34 install -Dm644 $stuff/index.html $docdir/index.html
36 # move icons from pixmaps to default hicolor theme
37 install -Dm644 $install/usr/share/pixmaps/xarchiver/xarchiver-add.png \
38 $install/usr/share/icons/hicolor/24x24/actions/xarchiver-add.png
39 install -Dm644 $install/usr/share/pixmaps/xarchiver/xarchiver-extract.png \
40 $install/usr/share/icons/hicolor/24x24/actions/xarchiver-extract.png
41 rm -r $install/usr/share/pixmaps/
42 }