wok-current view peazip/receipt @ rev 24381
updated blktrace (1.2.0 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 06 10:30:31 2022 +0100 (2022-02-06) |
parents | 55173d523ffc |
children | d77ab883a8b3 |
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 current_version()
22 {
23 wget -O - http://peazip.org/peazip-linux-x86.html 2>/dev/null | \
24 sed '/Linux x86 /!d;s|.*x86 ||;s|<.*||;q'
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 # Make Directories For SliTaz GNU/Linux ...
32 mkdir -p $fs/usr/bin
33 mkdir -p $fs/usr/lib/peazip
34 mkdir -p $fs/usr/share/applications
35 mkdir -p $fs/usr/share/pixmaps
37 cp -a $src/opt $fs/
39 # Creating hierarchies for SliTaz GNU/Linux ...
41 cp -a $src/usr/local/share/PeaZip/res \
42 $fs/usr/lib/peazip/
43 cp -a $src/usr/local/share/PeaZip/peazip \
44 $fs/usr/lib/peazip/
45 cp -a $src/usr/local/share/PeaZip/copying.txt \
46 $fs/usr/lib/peazip/
47 cp -a $src/usr/local/share/PeaZip/peazip_help.pdf \
48 $fs/usr/lib/peazip/
49 cp -a $src/usr/local/share/icons/peazip.png \
50 $fs/usr/share/pixmaps/
52 # Creating the launchers ...
54 # Desktop Entry For Pea
55 cat > $fs/usr/share/applications/pea.desktop <<EOT
56 [Desktop Entry]
57 Version=1.0
58 Encoding=UTF-8
59 Name=Pea
60 GenericName=Archiving Tool
61 Icon=peazip.png
62 Type=Application
63 Terminal=false
64 X-KDE-HasTempFileOption=true
65 Categories=GTK;KDE;Utility;System;Archiving;
66 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;
67 Exec=pea
68 EOT
70 # Desktop Entry For Peazip
71 cat > $fs/usr/share/applications/peazip.desktop <<EOT
72 [Desktop Entry]
73 Version=1.0
74 Encoding=UTF-8
75 Name=Peazip
76 GenericName=Archiving Tool
77 Icon=peazip.png
78 Type=Application
79 Terminal=false
80 X-KDE-HasTempFileOption=true
81 Categories=GTK;KDE;Utility;System;Archiving;
82 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;
83 Exec=peazip %F
84 EOT
86 # Creating the symbolic links ...
88 cd $fs/usr/bin
89 ln -s ../lib/peazip/res/pea pea
90 ln -s ../lib/peazip/peazip peazip
92 echo ""
93 echo ""
94 echo "# ------------------------------------------------------------------------------"
95 echo "#"
96 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
97 echo "#"
98 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
99 echo "#"
100 echo "# !! Improvements and suggestions please visit our forum and leave your "
101 echo "# comment. (http://forum.slitaz.org) Thank you."
102 echo "#"
103 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
104 echo "#"
105 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
106 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
107 echo "#"
108 echo "# ------------------------------------------------------------------------------"
109 echo ""
110 echo ""
111 }