wok view peazip/receipt @ rev 20654
busybox: add cook workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 13 11:19:21 2019 +0100 (2019-01-13) |
parents | 4d2e27773596 |
children | a89c8a426efc |
line source
1 # SliTaz package receipt.
3 PACKAGE="peazip"
4 VERSION="6.4.1"
5 SYSTEM="LINUX"
6 ENV="GTK2"
7 CATEGORY="x-window"
8 SHORT_DESC="Open Source archive manager and data compression utility."
9 MAINTAINER="hackdorte@yandex.com"
10 LICENSE="LGPLv3"
11 WEB_SITE="http://peazip.org/peazip-linux.html"
12 SUGGESTED="aescrypt gnupg"
13 TAGS="archiver bzip2 encryption gzip rar split tar unrar xz zip 7zip"
15 TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tgz"
16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
18 DEPENDS="busybox 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 {
25 # Make Directories For SliTaz GNU/Linux ...
27 mkdir -p $fs/usr/bin
28 mkdir -p $fs/usr/lib/peazip
29 mkdir -p $fs/usr/share/applications
30 mkdir -p $fs/usr/share/pixmaps
32 cp -a $src/opt $fs/
34 # Creating hierarchies for SliTaz GNU/Linux ...
36 cp -a $src/usr/local/share/PeaZip/res $fs/usr/lib/peazip/
37 cp -a $src/usr/local/share/PeaZip/peazip $fs/usr/lib/peazip/
38 cp -a $src/usr/local/share/PeaZip/copying.txt $fs/usr/lib/peazip/
39 cp -a $src/usr/local/share/PeaZip/peazip_help.pdf $fs/usr/lib/peazip/
40 cp -a $src/usr/local/share/icons/peazip.png $fs/usr/share/pixmaps/
42 # Creating the launchers ...
44 # Desktop Entry For Pea
45 cat > $fs/usr/share/applications/pea.desktop <<EOT
46 [Desktop Entry]
47 Version=1.0
48 Encoding=UTF-8
49 Name=Pea
50 GenericName=Archiving Tool
51 Icon=peazip.png
52 Type=Application
53 Terminal=false
54 X-KDE-HasTempFileOption=true
55 Categories=GTK;KDE;Utility;System;Archiving;
56 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;
57 Exec=pea
59 EOT
61 # Desktop Entry For Pealauncher
62 cat > $fs/usr/share/applications/pealaucher.desktop <<EOT
63 [Desktop Entry]
64 Version=1.0
65 Encoding=UTF-8
66 Name=Pealauncher
67 GenericName=Archiving Tool
68 Icon=peazip.png
69 Type=Application
70 Terminal=false
71 X-KDE-HasTempFileOption=true
72 Categories=GTK;KDE;Utility;System;Archiving;
73 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;
74 Exec=pealauncher
76 EOT
78 # Desktop Entry For Peazip
79 cat > $fs/usr/share/applications/peazip.desktop <<EOT
80 [Desktop Entry]
81 Version=1.0
82 Encoding=UTF-8
83 Name=Peazip
84 GenericName=Archiving Tool
85 Icon=peazip.png
86 Type=Application
87 Terminal=false
88 X-KDE-HasTempFileOption=true
89 Categories=GTK;KDE;Utility;System;Archiving;
90 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;
91 Exec=peazip %F
93 EOT
95 # Creating the symbolic links ...
97 cd $fs/usr/bin
98 ln -s $fs/usr/lib/peazip/res/pea pea
99 ln -s $fs/usr/lib/peazip/res/pealauncher
100 ln -s $fs/usr/lib/peazip/peazip peazip
102 echo ""
103 echo ""
104 echo "# ------------------------------------------------------------------------------"
105 echo "#"
106 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
107 echo "#"
108 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
109 echo "#"
110 echo "# !! Improvements and suggestions please visit our forum and leave your "
111 echo "# comment. (http://forum.slitaz.org) Thank you."
112 echo "#"
113 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
114 echo "#"
115 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
116 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
117 echo "#"
118 echo "# ------------------------------------------------------------------------------"
119 echo ""
120 echo ""
121 }