wok view peazip/receipt @ rev 21691
updated podofo and podofo-dev (0.9.1 -> 0.9.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 03 17:39:09 2019 +0100 (2019-06-03) |
parents | 3ea94e5b95e5 |
children | 55173d523ffc |
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
63 EOT
65 # Desktop Entry For Pealauncher
66 cat > $fs/usr/share/applications/pealaucher.desktop <<EOT
67 [Desktop Entry]
68 Version=1.0
69 Encoding=UTF-8
70 Name=Pealauncher
71 GenericName=Archiving Tool
72 Icon=peazip.png
73 Type=Application
74 Terminal=false
75 X-KDE-HasTempFileOption=true
76 Categories=GTK;KDE;Utility;System;Archiving;
77 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;
78 Exec=pealauncher
80 EOT
82 # Desktop Entry For Peazip
83 cat > $fs/usr/share/applications/peazip.desktop <<EOT
84 [Desktop Entry]
85 Version=1.0
86 Encoding=UTF-8
87 Name=Peazip
88 GenericName=Archiving Tool
89 Icon=peazip.png
90 Type=Application
91 Terminal=false
92 X-KDE-HasTempFileOption=true
93 Categories=GTK;KDE;Utility;System;Archiving;
94 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;
95 Exec=peazip %F
97 EOT
99 # Creating the symbolic links ...
101 cd $fs/usr/bin
102 ln -s $fs/usr/lib/peazip/res/pea pea
103 ln -s $fs/usr/lib/peazip/res/pealauncher pealauncher
104 ln -s $fs/usr/lib/peazip/peazip peazip
106 echo ""
107 echo ""
108 echo "# ------------------------------------------------------------------------------"
109 echo "#"
110 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
111 echo "#"
112 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
113 echo "#"
114 echo "# !! Improvements and suggestions please visit our forum and leave your "
115 echo "# comment. (http://forum.slitaz.org) Thank you."
116 echo "#"
117 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
118 echo "#"
119 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
120 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
121 echo "#"
122 echo "# ------------------------------------------------------------------------------"
123 echo ""
124 echo ""
125 }