wok-next diff xarchiver/receipt @ rev 21612
updated e3 (2.8 -> 2.82)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:20:43 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
line diff
1.1 --- a/xarchiver/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/xarchiver/receipt Thu Jun 25 10:20:43 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="xarchiver" 1.7 -VERSION="0.5.4.13" 1.8 +VERSION="0.5.4.14" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="A GTK+ lightweight archive manager" 1.11 MAINTAINER="devel@slitaz.org" 1.12 @@ -11,8 +11,15 @@ 1.13 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WGET_URL="https://github.com/ib/xarchiver/archive/$VERSION.tar.gz" 1.16 +TARBALL_SHA1="db763b3eaf926ebfc78ba0f647902d0d3764a813" 1.17 1.18 -BUILD_DEPENDS="gtk2-dev intltool libxslt" 1.19 +BUILD_DEPENDS="gtk2-dev intltool libxslt docbook-xsl" 1.20 +DEPENDS="gdk-pixbuf glib gtk2" 1.21 + 1.22 +# binutils for ar; busybox also contains gzip & cpio; rar is get-rar; gtar is absent 1.23 +SUGGESTED="arj binutils bzip2 cpio gzip lha lzma lzop p7zip-full rar xz zip" 1.24 + 1.25 +COPY="@std index.html xarchiver-add.png xarchiver-extract.png" # 24x24 skipped by default 1.26 COOKOPTS="skip-log-errors" 1.27 1.28 compile_rules() { 1.29 @@ -21,18 +28,15 @@ 1.30 make && 1.31 make install || return 1 1.32 1.33 + docdir="$install/usr/share/doc/$PACKAGE-$VERSION" 1.34 + mv $docdir/index.html $docdir/index.orig.html 1.35 install -Dm644 $stuff/xarchiver.cgi $install/var/www/cgi-bin/xarchiver.cgi 1.36 - install -Dm644 $stuff/index.html $install/usr/share/doc/xarchiver/html/index.html 1.37 + install -Dm644 $stuff/index.html $docdir/index.html 1.38 1.39 - sed -i 's|multipart/x-zip;||; /Exec/s/.*/& %f/' \ 1.40 - $install/usr/share/applications/xarchiver.desktop 1.41 + # move icons from pixmaps to default hicolor theme 1.42 + install -Dm644 $install/usr/share/pixmaps/xarchiver/xarchiver-add.png \ 1.43 + $install/usr/share/icons/hicolor/24x24/actions/xarchiver-add.png 1.44 + install -Dm644 $install/usr/share/pixmaps/xarchiver/xarchiver-extract.png \ 1.45 + $install/usr/share/icons/hicolor/24x24/actions/xarchiver-extract.png 1.46 + rm -r $install/usr/share/pixmaps/ 1.47 } 1.48 - 1.49 -genpkg_rules() { 1.50 - copy @std @ico 1.51 - rm -r $fs/usr/share/pixmaps/ 1.52 - DEPENDS="gdk-pixbuf glib gtk2" 1.53 - # binutils for ar; busybox also contains gzip & cpio; rar is get-rar; 1.54 - # gtar is absent 1.55 - SUGGESTED="arj binutils bzip2 cpio gzip lha lzma lzop p7zip-full rar xz zip" 1.56 -}