wok view peazip/receipt @ rev 24888
grub2: avoid grub-mkimage error: decompressor is too big
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:25:58 2022 +0100 (2022-04-02) |
parents | 15650f5d595b |
children | 870e1ce31226 |
line source
1 # SliTaz package receipt.
3 PACKAGE="peazip"
4 VERSION="6.8.0"
5 CATEGORY="x-window"
6 TAGS="archiver bzip2 encryption gzip rar split tar unrar xz zip 7zip"
7 SHORT_DESC="Open Source archive manager and data compression utility."
8 MAINTAINER="hackdorte@yandex.com"
9 LICENSE="LGPLv3"
10 WEB_SITE="http://peazip.org/peazip-linux.html"
12 SYSTEM="LINUX"
13 ENV="GTK2"
14 TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tgz"
15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
17 SUGGESTED="aescrypt gnupg"
18 DEPENDS="desktop-file-utils xorg-libX11 atk glibc-base cairo gtk+ \
19 gdk-pixbuf glib gmp pango libcurl ncurses upx zpaq xdg-utils"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://github.com/peazip/PeaZip/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 # Make Directories For SliTaz GNU/Linux ...
33 mkdir -p $fs/usr/bin
34 mkdir -p $fs/usr/lib/peazip
35 mkdir -p $fs/usr/share/applications
36 mkdir -p $fs/usr/share/pixmaps
38 cp -a $src/opt $fs/
40 # Creating hierarchies for SliTaz GNU/Linux ...
42 cp -a $src/usr/local/share/PeaZip/res \
43 $fs/usr/lib/peazip/
44 cp -a $src/usr/local/share/PeaZip/peazip \
45 $fs/usr/lib/peazip/
46 cp -a $src/usr/local/share/PeaZip/copying.txt \
47 $fs/usr/lib/peazip/
48 cp -a $src/usr/local/share/PeaZip/peazip_help.pdf \
49 $fs/usr/lib/peazip/
50 cp -a $src/usr/local/share/icons/peazip.png \
51 $fs/usr/share/pixmaps/
53 # Creating the launchers ...
55 # Desktop Entry For Pea
56 cat > $fs/usr/share/applications/pea.desktop <<EOT
57 [Desktop Entry]
58 Version=1.0
59 Encoding=UTF-8
60 Name=Pea
61 GenericName=Archiving Tool
62 Icon=peazip.png
63 Type=Application
64 Terminal=false
65 X-KDE-HasTempFileOption=true
66 Categories=GTK;KDE;Utility;System;Archiving;
67 MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-tbz2;application/x-zip;application/zip;application/x-bzip;application/x-rar;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;
68 Exec=pea
69 EOT
71 # Desktop Entry For Peazip
72 cat > $fs/usr/share/applications/peazip.desktop <<EOT
73 [Desktop Entry]
74 Version=1.0
75 Encoding=UTF-8
76 Name=Peazip
77 GenericName=Archiving Tool
78 Icon=peazip.png
79 Type=Application
80 Terminal=false
81 X-KDE-HasTempFileOption=true
82 Categories=GTK;KDE;Utility;System;Archiving;
83 MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-tbz2;application/x-zip;application/zip;application/x-bzip;application/x-rar;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;
84 Exec=peazip %F
85 EOT
87 # Creating the symbolic links ...
89 cd $fs/usr/bin
90 ln -s ../lib/peazip/res/pea pea
91 ln -s ../lib/peazip/peazip peazip
93 echo ""
94 echo ""
95 echo "# ------------------------------------------------------------------------------"
96 echo "#"
97 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
98 echo "#"
99 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
100 echo "#"
101 echo "# !! Improvements and suggestions please visit our forum and leave your "
102 echo "# comment. (http://forum.slitaz.org) Thank you."
103 echo "#"
104 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
105 echo "#"
106 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
107 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
108 echo "#"
109 echo "# ------------------------------------------------------------------------------"
110 echo ""
111 echo ""
112 }