wok annotate peazip/receipt @ rev 21672

updated peazip (6.4.1 -> 6.8.0)
author Hans-G?nter Theisgen
date Sat Jun 01 15:46:50 2019 +0100 (2019-06-01)
parents 3ea94e5b95e5
children 55173d523ffc
rev   line source
hackdorte@18995 1 # SliTaz package receipt.
hackdorte@18995 2
hackdorte@18995 3 PACKAGE="peazip"
Hans-G?nter@21672 4 VERSION="6.8.0"
hackdorte@18995 5 CATEGORY="x-window"
Hans-G?nter@21672 6 TAGS="archiver bzip2 encryption gzip rar split tar unrar xz zip 7zip"
hackdorte@18995 7 SHORT_DESC="Open Source archive manager and data compression utility."
hackdorte@20005 8 MAINTAINER="hackdorte@yandex.com"
hackdorte@20005 9 LICENSE="LGPLv3"
hackdorte@18995 10 WEB_SITE="http://peazip.org/peazip-linux.html"
hackdorte@18995 11
Hans-G?nter@21672 12 SYSTEM="LINUX"
Hans-G?nter@21672 13 ENV="GTK2"
hackdorte@18995 14 TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tgz"
al@18997 15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
hackdorte@18995 16
Hans-G?nter@21672 17 SUGGESTED="aescrypt gnupg"
Hans-G?nter@21672 18 DEPENDS="desktop-file-utils xorg-libX11 atk glibc-base cairo gtk+ \
Hans-G?nter@21672 19 gdk-pixbuf glib gmp pango libcurl ncurses upx zpaq xdg-utils"
hackdorte@18995 20
hackdorte@18995 21 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@18995 22 genpkg_rules()
hackdorte@18995 23 {
Hans-G?nter@21672 24 # Make Directories For SliTaz GNU/Linux ...
hackdorte@18995 25
Hans-G?nter@21672 26 mkdir -p $fs/usr/bin
Hans-G?nter@21672 27 mkdir -p $fs/usr/lib/peazip
Hans-G?nter@21672 28 mkdir -p $fs/usr/share/applications
Hans-G?nter@21672 29 mkdir -p $fs/usr/share/pixmaps
hackdorte@18995 30
Hans-G?nter@21672 31 cp -a $src/opt $fs/
hackdorte@18995 32
Hans-G?nter@21672 33 # Creating hierarchies for SliTaz GNU/Linux ...
hackdorte@20005 34
Hans-G?nter@21672 35 cp -a $src/usr/local/share/PeaZip/res \
Hans-G?nter@21672 36 $fs/usr/lib/peazip/
Hans-G?nter@21672 37 cp -a $src/usr/local/share/PeaZip/peazip \
Hans-G?nter@21672 38 $fs/usr/lib/peazip/
Hans-G?nter@21672 39 cp -a $src/usr/local/share/PeaZip/copying.txt \
Hans-G?nter@21672 40 $fs/usr/lib/peazip/
Hans-G?nter@21672 41 cp -a $src/usr/local/share/PeaZip/peazip_help.pdf \
Hans-G?nter@21672 42 $fs/usr/lib/peazip/
Hans-G?nter@21672 43 cp -a $src/usr/local/share/icons/peazip.png \
Hans-G?nter@21672 44 $fs/usr/share/pixmaps/
hackdorte@20005 45
Hans-G?nter@21672 46 # Creating the launchers ...
hackdorte@20005 47
Hans-G?nter@21672 48 # Desktop Entry For Pea
Hans-G?nter@21672 49 cat > $fs/usr/share/applications/pea.desktop <<EOT
hackdorte@18995 50 [Desktop Entry]
hackdorte@18995 51 Version=1.0
hackdorte@18995 52 Encoding=UTF-8
hackdorte@20005 53 Name=Pea
hackdorte@20005 54 GenericName=Archiving Tool
hackdorte@20005 55 Icon=peazip.png
hackdorte@18995 56 Type=Application
hackdorte@18995 57 Terminal=false
hackdorte@18995 58 X-KDE-HasTempFileOption=true
hackdorte@18995 59 Categories=GTK;KDE;Utility;System;Archiving;
hackdorte@20005 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;
hackdorte@20005 61 Exec=pea
hackdorte@18995 62
hackdorte@18995 63 EOT
hackdorte@18995 64
Hans-G?nter@21672 65 # Desktop Entry For Pealauncher
Hans-G?nter@21672 66 cat > $fs/usr/share/applications/pealaucher.desktop <<EOT
hackdorte@18995 67 [Desktop Entry]
hackdorte@18995 68 Version=1.0
hackdorte@18995 69 Encoding=UTF-8
hackdorte@18995 70 Name=Pealauncher
hackdorte@20005 71 GenericName=Archiving Tool
hackdorte@20005 72 Icon=peazip.png
hackdorte@18995 73 Type=Application
hackdorte@18995 74 Terminal=false
hackdorte@18995 75 X-KDE-HasTempFileOption=true
hackdorte@18995 76 Categories=GTK;KDE;Utility;System;Archiving;
hackdorte@20005 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;
hackdorte@20005 78 Exec=pealauncher
hackdorte@18995 79
hackdorte@18995 80 EOT
hackdorte@18995 81
Hans-G?nter@21672 82 # Desktop Entry For Peazip
Hans-G?nter@21672 83 cat > $fs/usr/share/applications/peazip.desktop <<EOT
hackdorte@20005 84 [Desktop Entry]
hackdorte@20005 85 Version=1.0
hackdorte@20005 86 Encoding=UTF-8
hackdorte@20005 87 Name=Peazip
hackdorte@20005 88 GenericName=Archiving Tool
hackdorte@20005 89 Icon=peazip.png
hackdorte@20005 90 Type=Application
hackdorte@20005 91 Terminal=false
hackdorte@20005 92 X-KDE-HasTempFileOption=true
hackdorte@20005 93 Categories=GTK;KDE;Utility;System;Archiving;
hackdorte@20005 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;
hackdorte@20005 95 Exec=peazip %F
hackdorte@18995 96
hackdorte@20005 97 EOT
hackdorte@20005 98
Hans-G?nter@21672 99 # Creating the symbolic links ...
hackdorte@20005 100
Hans-G?nter@21672 101 cd $fs/usr/bin
Hans-G?nter@21672 102 ln -s $fs/usr/lib/peazip/res/pea pea
Hans-G?nter@21672 103 ln -s $fs/usr/lib/peazip/res/pealauncher pealauncher
Hans-G?nter@21672 104 ln -s $fs/usr/lib/peazip/peazip peazip
hackdorte@20005 105
hackdorte@20005 106 echo ""
hackdorte@20005 107 echo ""
hackdorte@20005 108 echo "# ------------------------------------------------------------------------------"
hackdorte@20005 109 echo "#"
hackdorte@20005 110 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
hackdorte@20005 111 echo "#"
hackdorte@20005 112 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
hackdorte@20005 113 echo "#"
hackdorte@20005 114 echo "# !! Improvements and suggestions please visit our forum and leave your "
hackdorte@20005 115 echo "# comment. (http://forum.slitaz.org) Thank you."
hackdorte@20005 116 echo "#"
hackdorte@20005 117 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
hackdorte@20005 118 echo "#"
hackdorte@20005 119 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
hackdorte@20005 120 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
hackdorte@20005 121 echo "#"
hackdorte@20005 122 echo "# ------------------------------------------------------------------------------"
hackdorte@20005 123 echo ""
hackdorte@20005 124 echo ""
al@18997 125 }