wok annotate peazip/receipt @ rev 22832

cortex libQtMimeTypes: normalize $VERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 08 13:09:52 2020 +0100 (2020-02-08)
parents a89c8a426efc
children 15650f5d595b
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 EOT
hackdorte@18995 63
Hans-G?nter@21672 64 # Desktop Entry For Peazip
Hans-G?nter@21672 65 cat > $fs/usr/share/applications/peazip.desktop <<EOT
hackdorte@20005 66 [Desktop Entry]
hackdorte@20005 67 Version=1.0
hackdorte@20005 68 Encoding=UTF-8
hackdorte@20005 69 Name=Peazip
hackdorte@20005 70 GenericName=Archiving Tool
hackdorte@20005 71 Icon=peazip.png
hackdorte@20005 72 Type=Application
hackdorte@20005 73 Terminal=false
hackdorte@20005 74 X-KDE-HasTempFileOption=true
hackdorte@20005 75 Categories=GTK;KDE;Utility;System;Archiving;
hackdorte@20005 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;
hackdorte@20005 77 Exec=peazip %F
hackdorte@20005 78 EOT
hackdorte@20005 79
Hans-G?nter@21672 80 # Creating the symbolic links ...
hackdorte@20005 81
Hans-G?nter@21672 82 cd $fs/usr/bin
pascal@21710 83 ln -s ../lib/peazip/res/pea pea
pascal@21710 84 ln -s ../lib/peazip/peazip peazip
hackdorte@20005 85
hackdorte@20005 86 echo ""
hackdorte@20005 87 echo ""
hackdorte@20005 88 echo "# ------------------------------------------------------------------------------"
hackdorte@20005 89 echo "#"
hackdorte@20005 90 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
hackdorte@20005 91 echo "#"
hackdorte@20005 92 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
hackdorte@20005 93 echo "#"
hackdorte@20005 94 echo "# !! Improvements and suggestions please visit our forum and leave your "
hackdorte@20005 95 echo "# comment. (http://forum.slitaz.org) Thank you."
hackdorte@20005 96 echo "#"
hackdorte@20005 97 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
hackdorte@20005 98 echo "#"
hackdorte@20005 99 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
hackdorte@20005 100 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
hackdorte@20005 101 echo "#"
hackdorte@20005 102 echo "# ------------------------------------------------------------------------------"
hackdorte@20005 103 echo ""
hackdorte@20005 104 echo ""
al@18997 105 }