wok-current view peazip/receipt @ rev 21835

updated re2c (0.13.5 -> 1.2.1)
author Hans-G?nter Theisgen
date Sat Sep 14 10:21:53 2019 +0100 (2019-09-14)
parents a89c8a426efc
children 15650f5d595b
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 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 # Make Directories For SliTaz GNU/Linux ...
26 mkdir -p $fs/usr/bin
27 mkdir -p $fs/usr/lib/peazip
28 mkdir -p $fs/usr/share/applications
29 mkdir -p $fs/usr/share/pixmaps
31 cp -a $src/opt $fs/
33 # Creating hierarchies for SliTaz GNU/Linux ...
35 cp -a $src/usr/local/share/PeaZip/res \
36 $fs/usr/lib/peazip/
37 cp -a $src/usr/local/share/PeaZip/peazip \
38 $fs/usr/lib/peazip/
39 cp -a $src/usr/local/share/PeaZip/copying.txt \
40 $fs/usr/lib/peazip/
41 cp -a $src/usr/local/share/PeaZip/peazip_help.pdf \
42 $fs/usr/lib/peazip/
43 cp -a $src/usr/local/share/icons/peazip.png \
44 $fs/usr/share/pixmaps/
46 # Creating the launchers ...
48 # Desktop Entry For Pea
49 cat > $fs/usr/share/applications/pea.desktop <<EOT
50 [Desktop Entry]
51 Version=1.0
52 Encoding=UTF-8
53 Name=Pea
54 GenericName=Archiving Tool
55 Icon=peazip.png
56 Type=Application
57 Terminal=false
58 X-KDE-HasTempFileOption=true
59 Categories=GTK;KDE;Utility;System;Archiving;
60 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;
61 Exec=pea
62 EOT
64 # Desktop Entry For Peazip
65 cat > $fs/usr/share/applications/peazip.desktop <<EOT
66 [Desktop Entry]
67 Version=1.0
68 Encoding=UTF-8
69 Name=Peazip
70 GenericName=Archiving Tool
71 Icon=peazip.png
72 Type=Application
73 Terminal=false
74 X-KDE-HasTempFileOption=true
75 Categories=GTK;KDE;Utility;System;Archiving;
76 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;
77 Exec=peazip %F
78 EOT
80 # Creating the symbolic links ...
82 cd $fs/usr/bin
83 ln -s ../lib/peazip/res/pea pea
84 ln -s ../lib/peazip/peazip peazip
86 echo ""
87 echo ""
88 echo "# ------------------------------------------------------------------------------"
89 echo "#"
90 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
91 echo "#"
92 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
93 echo "#"
94 echo "# !! Improvements and suggestions please visit our forum and leave your "
95 echo "# comment. (http://forum.slitaz.org) Thank you."
96 echo "#"
97 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
98 echo "#"
99 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
100 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
101 echo "#"
102 echo "# ------------------------------------------------------------------------------"
103 echo ""
104 echo ""
105 }