wok-current annotate peazip/receipt @ rev 24970
created recipe for midori-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 14:49:30 2022 +0100 (2022-04-26) |
parents | d77ab883a8b3 |
children | ee5fb3889f59 |
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" |
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" |
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@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@21672 | 31 # Make Directories For SliTaz GNU/Linux ... |
hackdorte@18995 | 32 |
Hans-G?nter@21672 | 33 mkdir -p $fs/usr/bin |
Hans-G?nter@21672 | 34 mkdir -p $fs/usr/lib/peazip |
Hans-G?nter@21672 | 35 mkdir -p $fs/usr/share/applications |
Hans-G?nter@21672 | 36 mkdir -p $fs/usr/share/pixmaps |
hackdorte@18995 | 37 |
Hans-G?nter@21672 | 38 cp -a $src/opt $fs/ |
hackdorte@18995 | 39 |
Hans-G?nter@21672 | 40 # Creating hierarchies for SliTaz GNU/Linux ... |
hackdorte@20005 | 41 |
Hans-G?nter@21672 | 42 cp -a $src/usr/local/share/PeaZip/res \ |
Hans-G?nter@21672 | 43 $fs/usr/lib/peazip/ |
Hans-G?nter@21672 | 44 cp -a $src/usr/local/share/PeaZip/peazip \ |
Hans-G?nter@21672 | 45 $fs/usr/lib/peazip/ |
Hans-G?nter@21672 | 46 cp -a $src/usr/local/share/PeaZip/copying.txt \ |
Hans-G?nter@21672 | 47 $fs/usr/lib/peazip/ |
Hans-G?nter@21672 | 48 cp -a $src/usr/local/share/PeaZip/peazip_help.pdf \ |
Hans-G?nter@21672 | 49 $fs/usr/lib/peazip/ |
Hans-G?nter@21672 | 50 cp -a $src/usr/local/share/icons/peazip.png \ |
Hans-G?nter@21672 | 51 $fs/usr/share/pixmaps/ |
hackdorte@20005 | 52 |
Hans-G?nter@21672 | 53 # Creating the launchers ... |
hackdorte@20005 | 54 |
Hans-G?nter@21672 | 55 # Desktop Entry For Pea |
Hans-G?nter@21672 | 56 cat > $fs/usr/share/applications/pea.desktop <<EOT |
hackdorte@18995 | 57 [Desktop Entry] |
hackdorte@18995 | 58 Version=1.0 |
hackdorte@18995 | 59 Encoding=UTF-8 |
hackdorte@20005 | 60 Name=Pea |
hackdorte@20005 | 61 GenericName=Archiving Tool |
hackdorte@20005 | 62 Icon=peazip.png |
hackdorte@18995 | 63 Type=Application |
hackdorte@18995 | 64 Terminal=false |
hackdorte@18995 | 65 X-KDE-HasTempFileOption=true |
hackdorte@18995 | 66 Categories=GTK;KDE;Utility;System;Archiving; |
hackdorte@20005 | 67 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 | 68 Exec=pea |
hackdorte@18995 | 69 EOT |
hackdorte@18995 | 70 |
Hans-G?nter@21672 | 71 # Desktop Entry For Peazip |
Hans-G?nter@21672 | 72 cat > $fs/usr/share/applications/peazip.desktop <<EOT |
hackdorte@20005 | 73 [Desktop Entry] |
hackdorte@20005 | 74 Version=1.0 |
hackdorte@20005 | 75 Encoding=UTF-8 |
hackdorte@20005 | 76 Name=Peazip |
hackdorte@20005 | 77 GenericName=Archiving Tool |
hackdorte@20005 | 78 Icon=peazip.png |
hackdorte@20005 | 79 Type=Application |
hackdorte@20005 | 80 Terminal=false |
hackdorte@20005 | 81 X-KDE-HasTempFileOption=true |
hackdorte@20005 | 82 Categories=GTK;KDE;Utility;System;Archiving; |
hackdorte@20005 | 83 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 | 84 Exec=peazip %F |
hackdorte@20005 | 85 EOT |
hackdorte@20005 | 86 |
Hans-G?nter@21672 | 87 # Creating the symbolic links ... |
hackdorte@20005 | 88 |
Hans-G?nter@21672 | 89 cd $fs/usr/bin |
pascal@21710 | 90 ln -s ../lib/peazip/res/pea pea |
pascal@21710 | 91 ln -s ../lib/peazip/peazip peazip |
hackdorte@20005 | 92 |
hackdorte@20005 | 93 echo "" |
hackdorte@20005 | 94 echo "" |
hackdorte@20005 | 95 echo "# ------------------------------------------------------------------------------" |
hackdorte@20005 | 96 echo "#" |
hackdorte@20005 | 97 echo "# ___________________________ SliTaz GNU/Linux _________________________________" |
hackdorte@20005 | 98 echo "#" |
hackdorte@20005 | 99 echo "# !! Please, report bug's to (http://bugs.slitaz.org)." |
hackdorte@20005 | 100 echo "#" |
hackdorte@20005 | 101 echo "# !! Improvements and suggestions please visit our forum and leave your " |
hackdorte@20005 | 102 echo "# comment. (http://forum.slitaz.org) Thank you." |
hackdorte@20005 | 103 echo "#" |
hackdorte@20005 | 104 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)" |
hackdorte@20005 | 105 echo "#" |
hackdorte@20005 | 106 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)" |
hackdorte@20005 | 107 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)" |
hackdorte@20005 | 108 echo "#" |
hackdorte@20005 | 109 echo "# ------------------------------------------------------------------------------" |
hackdorte@20005 | 110 echo "" |
hackdorte@20005 | 111 echo "" |
al@18997 | 112 } |