wok annotate peazip/receipt @ rev 25362

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 28 07:24:59 2022 +0000 (2022-07-28)
parents 870e1ce31226
children
rev   line source
hackdorte@18995 1 # SliTaz package receipt.
hackdorte@18995 2
hackdorte@18995 3 PACKAGE="peazip"
Hans-G?nter@25119 4 VERSION="8.4.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"
pascal@24894 10 WEB_SITE="https://peazip.github.io/peazip-linux.html"
hackdorte@18995 11
Hans-G?nter@21672 12 SYSTEM="LINUX"
Hans-G?nter@21672 13 ENV="GTK2"
Hans-G?nter@25119 14 TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tar.gz"
Hans-G?nter@25119 15 WGET_URL="https://github.com/$PACKAGE/PeaZip/releases/download/$VERSION/${PACKAGE}_portable-$VERSION.$SYSTEM.$ENV.x86.tar.gz"
hackdorte@18995 16
Hans-G?nter@21672 17 SUGGESTED="aescrypt gnupg"
Hans-G?nter@25119 18 DEPENDS="atk cairo desktop-file-utils gdk-pixbuf glib glibc-base gmp gtk+
Hans-G?nter@25119 19 libcurl ncurses pango upx xdg-utils xorg-libX11 zpaq"
hackdorte@18995 20
pascal@24525 21 # What is the latest version available today?
pascal@24102 22 current_version()
pascal@24102 23 {
pascal@24525 24 wget -O - https://github.com/peazip/PeaZip/releases 2>/dev/null | \
pascal@24525 25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24102 26 }
pascal@24102 27
hackdorte@18995 28 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@18995 29 genpkg_rules()
hackdorte@18995 30 {
Hans-G?nter@25119 31 mkdir -p $fs/opt/kde3/share/applications/kde
Hans-G?nter@25119 32 mkdir -p $fs/opt/kde3/share/apps/konqueror/servicemenus
Hans-G?nter@25119 33 mkdir -p $fs/opt/kde3/share/icons
hackdorte@18995 34
Hans-G?nter@21672 35 mkdir -p $fs/usr/bin
Hans-G?nter@25119 36 mkdir -p $fs/usr/lib/peazip/res/bin
Hans-G?nter@25119 37 mkdir -p $fs/usr/lib/peazip/res/share
Hans-G?nter@25119 38
Hans-G?nter@21672 39 mkdir -p $fs/usr/share/applications
Hans-G?nter@21672 40 mkdir -p $fs/usr/share/pixmaps
hackdorte@18995 41
Hans-G?nter@25119 42 cp -a $src/pea $fs/usr/lib/peazip
Hans-G?nter@25119 43 cp -a $src/peazip $fs/usr/lib/peazip
hackdorte@18995 44
Hans-G?nter@25119 45 cp -a $src/res/bin/7z $fs/usr/lib/peazip/res/bin
hackdorte@20005 46
Hans-G?nter@25119 47 cp -a $src/res/share/lang $fs/usr/lib/peazip/res/share
Hans-G?nter@25119 48 cp -a $src/res/share/themes $fs/usr/lib/peazip/res/share
Hans-G?nter@25119 49 cp -a $src/res/share/copying/copying.txt \
Hans-G?nter@25119 50 $fs/usr/lib/peazip
Hans-G?nter@25119 51 cp -a $src/res/share/peazip_help.pdf \
Hans-G?nter@25119 52 $fs/usr/lib/peazip/res/share
hackdorte@20005 53
Hans-G?nter@25119 54 cp -a $src/res/share/batch/freedesktop_integration/peazip.png \
Hans-G?nter@25119 55 $fs/usr/share/pixmaps
hackdorte@20005 56
Hans-G?nter@25119 57 cp -a $src/res/share/batch/freedesktop_integration/peazip.png \
Hans-G?nter@25119 58 $fs/opt/kde3/share/icons
Hans-G?nter@25119 59 cp -a $src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE3-konqueror/*.desktop \
Hans-G?nter@25119 60 $fs/opt/kde3/share/apps/konqueror/servicemenus
Hans-G?nter@25119 61
Hans-G?nter@25119 62
Hans-G?nter@25119 63 # Desktop entry for Pea
Hans-G?nter@21672 64 cat > $fs/usr/share/applications/pea.desktop <<EOT
hackdorte@18995 65 [Desktop Entry]
hackdorte@18995 66 Version=1.0
hackdorte@18995 67 Encoding=UTF-8
hackdorte@20005 68 Name=Pea
hackdorte@20005 69 GenericName=Archiving Tool
hackdorte@20005 70 Icon=peazip.png
hackdorte@18995 71 Type=Application
hackdorte@18995 72 Terminal=false
hackdorte@18995 73 X-KDE-HasTempFileOption=true
Hans-G?nter@25119 74 Categories=GTK;KDE;Utility;Archiving;Compression;
hackdorte@20005 75 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 76 Exec=pea
hackdorte@18995 77 EOT
hackdorte@18995 78
Hans-G?nter@25119 79 # Desktop entries for Peazip
Hans-G?nter@25119 80 cp -a $src/res/share/batch/freedesktop_integration/peazip.desktop \
Hans-G?nter@25119 81 $fs/usr/share/applications/peazip.desktop
Hans-G?nter@25119 82 cp -a $src/res/share/batch/freedesktop_integration/peazip.desktop \
Hans-G?nter@25119 83 $fs/opt/kde3/share/applications/kde/peazip.desktop
hackdorte@20005 84
Hans-G?nter@21672 85 # Creating the symbolic links ...
hackdorte@20005 86
Hans-G?nter@21672 87 cd $fs/usr/bin
Hans-G?nter@25119 88 ln -s ../lib/peazip/pea pea
Hans-G?nter@25119 89 ln -s ../lib/peazip/peazip peazip
hackdorte@20005 90
hackdorte@20005 91 echo ""
hackdorte@20005 92 echo ""
hackdorte@20005 93 echo "# ------------------------------------------------------------------------------"
hackdorte@20005 94 echo "#"
hackdorte@20005 95 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
hackdorte@20005 96 echo "#"
hackdorte@20005 97 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
hackdorte@20005 98 echo "#"
hackdorte@20005 99 echo "# !! Improvements and suggestions please visit our forum and leave your "
hackdorte@20005 100 echo "# comment. (http://forum.slitaz.org) Thank you."
hackdorte@20005 101 echo "#"
hackdorte@20005 102 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
hackdorte@20005 103 echo "#"
hackdorte@20005 104 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
hackdorte@20005 105 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
hackdorte@20005 106 echo "#"
hackdorte@20005 107 echo "# ------------------------------------------------------------------------------"
hackdorte@20005 108 echo ""
hackdorte@20005 109 echo ""
al@18997 110 }