wok-current rev 20005

Up: PeaZip v6.0.0 to v6.4.1 :: Some dependencies satisfied.
author Leonardo Laporte <hackdorte@yandex.com>
date Tue Aug 01 12:26:53 2017 -0300 (2017-08-01)
parents b97c2fa66dc7
children a94636209d9a
files peazip/receipt
line diff
     1.1 --- a/peazip/receipt	Mon Jul 31 22:16:05 2017 +0300
     1.2 +++ b/peazip/receipt	Tue Aug 01 12:26:53 2017 -0300
     1.3 @@ -1,77 +1,121 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="peazip"
     1.7 -VERSION="6.0.0"
     1.8 +VERSION="6.4.1"
     1.9  SYSTEM="LINUX"
    1.10  ENV="GTK2"
    1.11  CATEGORY="x-window"
    1.12  SHORT_DESC="Open Source archive manager and data compression utility."
    1.13 -MAINTAINER="hackdorte@sapo.pt"
    1.14 -LICENSE="LGPL3"
    1.15 +MAINTAINER="hackdorte@yandex.com"
    1.16 +LICENSE="LGPLv3"
    1.17  WEB_SITE="http://peazip.org/peazip-linux.html"
    1.18 +SUGGESTED="aescrypt gnupg"
    1.19 +TAGS="archiver bzip2 encryption gzip rar split tar unrar xz zip 7zip"
    1.20  
    1.21  TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tgz"
    1.22  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.23  
    1.24 -DEPENDS="xorg-libX11 atk glibc-base cairo gtk+ gdk-pixbuf glib pango"
    1.25 -
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 -
    1.30 -mkdir -p $install/
    1.31 -cp -a $src/* $install/
    1.32 -
    1.33 -}
    1.34 +DEPENDS="busybox desktop-file-utils xorg-libX11 atk glibc-base cairo gtk+ \
    1.35 +gdk-pixbuf glib gmp pango ncurses upx zpaq xdg-utils"
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40  
    1.41 -  # Build Tree
    1.42 -    mkdir -p $install/usr/share/applications
    1.43 -    mkdir -p $install/usr/share/pixmaps
    1.44 -    cp -a $install/usr/local/share/applications/* $install/usr/share/applications
    1.45 -    cp -a $install/usr/local/share/icons/* $install/usr/share/pixmaps
    1.46 +# Make Directories For SliTaz GNU/Linux ...
    1.47  
    1.48 +mkdir -p $fs/usr/bin
    1.49 +mkdir -p $fs/usr/lib/peazip
    1.50 +mkdir -p $fs/usr/share/applications
    1.51 +mkdir -p $fs/usr/share/pixmaps
    1.52  
    1.53 -# Writing (pea.desktop) File
    1.54 -cat > $install/usr/share/applications/pea.desktop <<EOT
    1.55 +cp -a $src/opt $fs/
    1.56 +
    1.57 +# Creating hierarchies for SliTaz GNU/Linux ...
    1.58 +
    1.59 +cp -a $src/usr/local/share/PeaZip/res $fs/usr/lib/peazip/
    1.60 +cp -a $src/usr/local/share/PeaZip/peazip $fs/usr/lib/peazip/
    1.61 +cp -a $src/usr/local/share/PeaZip/copying.txt $fs/usr/lib/peazip/
    1.62 +cp -a $src/usr/local/share/PeaZip/peazip_help.pdf $fs/usr/lib/peazip/
    1.63 +cp -a $src/usr/local/share/icons/peazip.png $fs/usr/share/pixmaps/
    1.64 +
    1.65 +# Creating the launchers ...
    1.66 +
    1.67 +# Desktop Entry For Pea
    1.68 +cat > $fs/usr/share/applications/pea.desktop <<EOT
    1.69  [Desktop Entry]
    1.70  Version=1.0
    1.71  Encoding=UTF-8
    1.72 -Name=Pea Checksum and Hash
    1.73 -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.74 -Exec=pea
    1.75 -Icon=peazip
    1.76 +Name=Pea
    1.77 +GenericName=Archiving Tool
    1.78 +Icon=peazip.png
    1.79  Type=Application
    1.80  Terminal=false
    1.81  X-KDE-HasTempFileOption=true
    1.82  Categories=GTK;KDE;Utility;System;Archiving;
    1.83 -Name[en_US]=Pea Checksum and Hash
    1.84 -Comment=Peazip Checksum and Hash
    1.85 +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.86 +Exec=pea
    1.87  
    1.88  EOT
    1.89  
    1.90 -# Writing (pealauncher.desktop) File
    1.91 -cat > $install/usr/share/applications/pealauncher.desktop <<EOT
    1.92 +# Desktop Entry For Pealauncher
    1.93 +cat > $fs/usr/share/applications/pealaucher.desktop <<EOT
    1.94  [Desktop Entry]
    1.95  Version=1.0
    1.96  Encoding=UTF-8
    1.97  Name=Pealauncher
    1.98 -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.99 -Exec=pealauncher
   1.100 -Icon=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 -Name[en_US]=Pealauncher
   1.108 -Comment=Drag here the archive to extract.
   1.109 +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.110 +Exec=pealauncher
   1.111  
   1.112  EOT
   1.113  
   1.114 -# All Done!
   1.115 -cp -a $install/* $fs
   1.116 +# Desktop Entry For Peazip
   1.117 +cat > $fs/usr/share/applications/peazip.desktop <<EOT
   1.118 +[Desktop Entry]
   1.119 +Version=1.0
   1.120 +Encoding=UTF-8
   1.121 +Name=Peazip
   1.122 +GenericName=Archiving Tool
   1.123 +Icon=peazip.png
   1.124 +Type=Application
   1.125 +Terminal=false
   1.126 +X-KDE-HasTempFileOption=true
   1.127 +Categories=GTK;KDE;Utility;System;Archiving;
   1.128 +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.129 +Exec=peazip %F
   1.130  
   1.131 +EOT
   1.132 +
   1.133 +# Creating the symbolic links ...
   1.134 +
   1.135 +cd $fs/usr/bin
   1.136 +ln -s $fs/usr/lib/peazip/res/pea pea
   1.137 +ln -s $fs/usr/lib/peazip/res/pealauncher
   1.138 +ln -s $fs/usr/lib/peazip/peazip peazip
   1.139 +
   1.140 +echo ""
   1.141 +echo ""
   1.142 +echo "# ------------------------------------------------------------------------------"
   1.143 +echo "#"
   1.144 +echo "# ___________________________ SliTaz GNU/Linux _________________________________"
   1.145 +echo "#"
   1.146 +echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
   1.147 +echo "#"
   1.148 +echo "# !! Improvements and suggestions please visit our forum and leave your "
   1.149 +echo "#    comment. (http://forum.slitaz.org) Thank you."
   1.150 +echo "#"
   1.151 +echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
   1.152 +echo "#"
   1.153 +echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
   1.154 +echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
   1.155 +echo "#"
   1.156 +echo "# ------------------------------------------------------------------------------"
   1.157 +echo ""
   1.158 +echo ""
   1.159  }