wok diff peazip/receipt @ rev 25788
xgalaga: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 08:52:14 2024 +0000 (7 weeks ago) |
parents | 870e1ce31226 |
children |
line diff
1.1 --- a/peazip/receipt Fri Apr 08 10:34:41 2022 +0000 1.2 +++ b/peazip/receipt Thu Sep 26 08:52:14 2024 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="peazip" 1.7 -VERSION="6.8.0" 1.8 +VERSION="8.4.0" 1.9 CATEGORY="x-window" 1.10 TAGS="archiver bzip2 encryption gzip rar split tar unrar xz zip 7zip" 1.11 SHORT_DESC="Open Source archive manager and data compression utility." 1.12 @@ -11,12 +11,12 @@ 1.13 1.14 SYSTEM="LINUX" 1.15 ENV="GTK2" 1.16 -TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tgz" 1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 +TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tar.gz" 1.19 +WGET_URL="https://github.com/$PACKAGE/PeaZip/releases/download/$VERSION/${PACKAGE}_portable-$VERSION.$SYSTEM.$ENV.x86.tar.gz" 1.20 1.21 SUGGESTED="aescrypt gnupg" 1.22 -DEPENDS="desktop-file-utils xorg-libX11 atk glibc-base cairo gtk+ \ 1.23 - gdk-pixbuf glib gmp pango libcurl ncurses upx zpaq xdg-utils" 1.24 +DEPENDS="atk cairo desktop-file-utils gdk-pixbuf glib glibc-base gmp gtk+ 1.25 + libcurl ncurses pango upx xdg-utils xorg-libX11 zpaq" 1.26 1.27 # What is the latest version available today? 1.28 current_version() 1.29 @@ -28,31 +28,39 @@ 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 - # Make Directories For SliTaz GNU/Linux ... 1.34 + mkdir -p $fs/opt/kde3/share/applications/kde 1.35 + mkdir -p $fs/opt/kde3/share/apps/konqueror/servicemenus 1.36 + mkdir -p $fs/opt/kde3/share/icons 1.37 1.38 mkdir -p $fs/usr/bin 1.39 - mkdir -p $fs/usr/lib/peazip 1.40 + mkdir -p $fs/usr/lib/peazip/res/bin 1.41 + mkdir -p $fs/usr/lib/peazip/res/share 1.42 + 1.43 mkdir -p $fs/usr/share/applications 1.44 mkdir -p $fs/usr/share/pixmaps 1.45 1.46 - cp -a $src/opt $fs/ 1.47 + cp -a $src/pea $fs/usr/lib/peazip 1.48 + cp -a $src/peazip $fs/usr/lib/peazip 1.49 1.50 - # Creating hierarchies for SliTaz GNU/Linux ... 1.51 + cp -a $src/res/bin/7z $fs/usr/lib/peazip/res/bin 1.52 1.53 - cp -a $src/usr/local/share/PeaZip/res \ 1.54 - $fs/usr/lib/peazip/ 1.55 - cp -a $src/usr/local/share/PeaZip/peazip \ 1.56 - $fs/usr/lib/peazip/ 1.57 - cp -a $src/usr/local/share/PeaZip/copying.txt \ 1.58 - $fs/usr/lib/peazip/ 1.59 - cp -a $src/usr/local/share/PeaZip/peazip_help.pdf \ 1.60 - $fs/usr/lib/peazip/ 1.61 - cp -a $src/usr/local/share/icons/peazip.png \ 1.62 - $fs/usr/share/pixmaps/ 1.63 + cp -a $src/res/share/lang $fs/usr/lib/peazip/res/share 1.64 + cp -a $src/res/share/themes $fs/usr/lib/peazip/res/share 1.65 + cp -a $src/res/share/copying/copying.txt \ 1.66 + $fs/usr/lib/peazip 1.67 + cp -a $src/res/share/peazip_help.pdf \ 1.68 + $fs/usr/lib/peazip/res/share 1.69 1.70 - # Creating the launchers ... 1.71 + cp -a $src/res/share/batch/freedesktop_integration/peazip.png \ 1.72 + $fs/usr/share/pixmaps 1.73 1.74 - # Desktop Entry For Pea 1.75 + cp -a $src/res/share/batch/freedesktop_integration/peazip.png \ 1.76 + $fs/opt/kde3/share/icons 1.77 + cp -a $src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE3-konqueror/*.desktop \ 1.78 + $fs/opt/kde3/share/apps/konqueror/servicemenus 1.79 + 1.80 + 1.81 + # Desktop entry for Pea 1.82 cat > $fs/usr/share/applications/pea.desktop <<EOT 1.83 [Desktop Entry] 1.84 Version=1.0 1.85 @@ -63,32 +71,22 @@ 1.86 Type=Application 1.87 Terminal=false 1.88 X-KDE-HasTempFileOption=true 1.89 -Categories=GTK;KDE;Utility;System;Archiving; 1.90 +Categories=GTK;KDE;Utility;Archiving;Compression; 1.91 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; 1.92 Exec=pea 1.93 EOT 1.94 1.95 - # Desktop Entry For Peazip 1.96 - cat > $fs/usr/share/applications/peazip.desktop <<EOT 1.97 -[Desktop Entry] 1.98 -Version=1.0 1.99 -Encoding=UTF-8 1.100 -Name=Peazip 1.101 -GenericName=Archiving Tool 1.102 -Icon=peazip.png 1.103 -Type=Application 1.104 -Terminal=false 1.105 -X-KDE-HasTempFileOption=true 1.106 -Categories=GTK;KDE;Utility;System;Archiving; 1.107 -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; 1.108 -Exec=peazip %F 1.109 -EOT 1.110 + # Desktop entries for Peazip 1.111 + cp -a $src/res/share/batch/freedesktop_integration/peazip.desktop \ 1.112 + $fs/usr/share/applications/peazip.desktop 1.113 + cp -a $src/res/share/batch/freedesktop_integration/peazip.desktop \ 1.114 + $fs/opt/kde3/share/applications/kde/peazip.desktop 1.115 1.116 # Creating the symbolic links ... 1.117 1.118 cd $fs/usr/bin 1.119 - ln -s ../lib/peazip/res/pea pea 1.120 - ln -s ../lib/peazip/peazip peazip 1.121 + ln -s ../lib/peazip/pea pea 1.122 + ln -s ../lib/peazip/peazip peazip 1.123 1.124 echo "" 1.125 echo ""