wok-6.x annotate peazip/receipt @ rev 24181

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