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

updated mpc-library (1.0.3 -> 1.1.0)
author Hans-G?nter Theisgen
date Wed May 01 08:44:22 2019 +0100 (2019-05-01)
parents 4d2e27773596
children a89c8a426efc
rev   line source
hackdorte@18995 1 # SliTaz package receipt.
hackdorte@18995 2
hackdorte@18995 3 PACKAGE="peazip"
hackdorte@20005 4 VERSION="6.4.1"
hackdorte@18995 5 SYSTEM="LINUX"
hackdorte@18995 6 ENV="GTK2"
hackdorte@18995 7 CATEGORY="x-window"
hackdorte@18995 8 SHORT_DESC="Open Source archive manager and data compression utility."
hackdorte@20005 9 MAINTAINER="hackdorte@yandex.com"
hackdorte@20005 10 LICENSE="LGPLv3"
hackdorte@18995 11 WEB_SITE="http://peazip.org/peazip-linux.html"
hackdorte@20005 12 SUGGESTED="aescrypt gnupg"
hackdorte@20005 13 TAGS="archiver bzip2 encryption gzip rar split tar unrar xz zip 7zip"
hackdorte@18995 14
hackdorte@18995 15 TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tgz"
al@18997 16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
hackdorte@18995 17
hackdorte@20005 18 DEPENDS="busybox desktop-file-utils xorg-libX11 atk glibc-base cairo gtk+ \
hackdorte@20013 19 gdk-pixbuf glib gmp pango libcurl ncurses upx zpaq xdg-utils"
hackdorte@18995 20
hackdorte@18995 21 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@18995 22 genpkg_rules()
hackdorte@18995 23 {
hackdorte@18995 24
hackdorte@20005 25 # Make Directories For SliTaz GNU/Linux ...
hackdorte@18995 26
hackdorte@20005 27 mkdir -p $fs/usr/bin
hackdorte@20005 28 mkdir -p $fs/usr/lib/peazip
hackdorte@20005 29 mkdir -p $fs/usr/share/applications
hackdorte@20005 30 mkdir -p $fs/usr/share/pixmaps
hackdorte@18995 31
hackdorte@20005 32 cp -a $src/opt $fs/
hackdorte@20005 33
hackdorte@20005 34 # Creating hierarchies for SliTaz GNU/Linux ...
hackdorte@20005 35
hackdorte@20005 36 cp -a $src/usr/local/share/PeaZip/res $fs/usr/lib/peazip/
hackdorte@20005 37 cp -a $src/usr/local/share/PeaZip/peazip $fs/usr/lib/peazip/
hackdorte@20005 38 cp -a $src/usr/local/share/PeaZip/copying.txt $fs/usr/lib/peazip/
hackdorte@20005 39 cp -a $src/usr/local/share/PeaZip/peazip_help.pdf $fs/usr/lib/peazip/
hackdorte@20005 40 cp -a $src/usr/local/share/icons/peazip.png $fs/usr/share/pixmaps/
hackdorte@20005 41
hackdorte@20005 42 # Creating the launchers ...
hackdorte@20005 43
hackdorte@20005 44 # Desktop Entry For Pea
hackdorte@20005 45 cat > $fs/usr/share/applications/pea.desktop <<EOT
hackdorte@18995 46 [Desktop Entry]
hackdorte@18995 47 Version=1.0
hackdorte@18995 48 Encoding=UTF-8
hackdorte@20005 49 Name=Pea
hackdorte@20005 50 GenericName=Archiving Tool
hackdorte@20005 51 Icon=peazip.png
hackdorte@18995 52 Type=Application
hackdorte@18995 53 Terminal=false
hackdorte@18995 54 X-KDE-HasTempFileOption=true
hackdorte@18995 55 Categories=GTK;KDE;Utility;System;Archiving;
hackdorte@20005 56 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 57 Exec=pea
hackdorte@18995 58
hackdorte@18995 59 EOT
hackdorte@18995 60
hackdorte@20005 61 # Desktop Entry For Pealauncher
hackdorte@20005 62 cat > $fs/usr/share/applications/pealaucher.desktop <<EOT
hackdorte@18995 63 [Desktop Entry]
hackdorte@18995 64 Version=1.0
hackdorte@18995 65 Encoding=UTF-8
hackdorte@18995 66 Name=Pealauncher
hackdorte@20005 67 GenericName=Archiving Tool
hackdorte@20005 68 Icon=peazip.png
hackdorte@18995 69 Type=Application
hackdorte@18995 70 Terminal=false
hackdorte@18995 71 X-KDE-HasTempFileOption=true
hackdorte@18995 72 Categories=GTK;KDE;Utility;System;Archiving;
hackdorte@20005 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;
hackdorte@20005 74 Exec=pealauncher
hackdorte@18995 75
hackdorte@18995 76 EOT
hackdorte@18995 77
hackdorte@20005 78 # Desktop Entry For Peazip
hackdorte@20005 79 cat > $fs/usr/share/applications/peazip.desktop <<EOT
hackdorte@20005 80 [Desktop Entry]
hackdorte@20005 81 Version=1.0
hackdorte@20005 82 Encoding=UTF-8
hackdorte@20005 83 Name=Peazip
hackdorte@20005 84 GenericName=Archiving Tool
hackdorte@20005 85 Icon=peazip.png
hackdorte@20005 86 Type=Application
hackdorte@20005 87 Terminal=false
hackdorte@20005 88 X-KDE-HasTempFileOption=true
hackdorte@20005 89 Categories=GTK;KDE;Utility;System;Archiving;
hackdorte@20005 90 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 91 Exec=peazip %F
hackdorte@18995 92
hackdorte@20005 93 EOT
hackdorte@20005 94
hackdorte@20005 95 # Creating the symbolic links ...
hackdorte@20005 96
hackdorte@20005 97 cd $fs/usr/bin
hackdorte@20005 98 ln -s $fs/usr/lib/peazip/res/pea pea
hackdorte@20005 99 ln -s $fs/usr/lib/peazip/res/pealauncher
hackdorte@20005 100 ln -s $fs/usr/lib/peazip/peazip peazip
hackdorte@20005 101
hackdorte@20005 102 echo ""
hackdorte@20005 103 echo ""
hackdorte@20005 104 echo "# ------------------------------------------------------------------------------"
hackdorte@20005 105 echo "#"
hackdorte@20005 106 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
hackdorte@20005 107 echo "#"
hackdorte@20005 108 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
hackdorte@20005 109 echo "#"
hackdorte@20005 110 echo "# !! Improvements and suggestions please visit our forum and leave your "
hackdorte@20005 111 echo "# comment. (http://forum.slitaz.org) Thank you."
hackdorte@20005 112 echo "#"
hackdorte@20005 113 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
hackdorte@20005 114 echo "#"
hackdorte@20005 115 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
hackdorte@20005 116 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
hackdorte@20005 117 echo "#"
hackdorte@20005 118 echo "# ------------------------------------------------------------------------------"
hackdorte@20005 119 echo ""
hackdorte@20005 120 echo ""
al@18997 121 }