wok-6.x view peazip/receipt @ rev 25142
updated pjsip and pjsip-dev (2.8 -> 2.11.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:35:46 2022 +0100 (2022-06-29) |
parents | 870e1ce31226 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="peazip"
4 VERSION="8.4.0"
5 CATEGORY="x-window"
6 TAGS="archiver bzip2 encryption gzip rar split tar unrar xz zip 7zip"
7 SHORT_DESC="Open Source archive manager and data compression utility."
8 MAINTAINER="hackdorte@yandex.com"
9 LICENSE="LGPLv3"
10 WEB_SITE="https://peazip.github.io/peazip-linux.html"
12 SYSTEM="LINUX"
13 ENV="GTK2"
14 TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tar.gz"
15 WGET_URL="https://github.com/$PACKAGE/PeaZip/releases/download/$VERSION/${PACKAGE}_portable-$VERSION.$SYSTEM.$ENV.x86.tar.gz"
17 SUGGESTED="aescrypt gnupg"
18 DEPENDS="atk cairo desktop-file-utils gdk-pixbuf glib glibc-base gmp gtk+
19 libcurl ncurses pango upx xdg-utils xorg-libX11 zpaq"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://github.com/peazip/PeaZip/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/opt/kde3/share/applications/kde
32 mkdir -p $fs/opt/kde3/share/apps/konqueror/servicemenus
33 mkdir -p $fs/opt/kde3/share/icons
35 mkdir -p $fs/usr/bin
36 mkdir -p $fs/usr/lib/peazip/res/bin
37 mkdir -p $fs/usr/lib/peazip/res/share
39 mkdir -p $fs/usr/share/applications
40 mkdir -p $fs/usr/share/pixmaps
42 cp -a $src/pea $fs/usr/lib/peazip
43 cp -a $src/peazip $fs/usr/lib/peazip
45 cp -a $src/res/bin/7z $fs/usr/lib/peazip/res/bin
47 cp -a $src/res/share/lang $fs/usr/lib/peazip/res/share
48 cp -a $src/res/share/themes $fs/usr/lib/peazip/res/share
49 cp -a $src/res/share/copying/copying.txt \
50 $fs/usr/lib/peazip
51 cp -a $src/res/share/peazip_help.pdf \
52 $fs/usr/lib/peazip/res/share
54 cp -a $src/res/share/batch/freedesktop_integration/peazip.png \
55 $fs/usr/share/pixmaps
57 cp -a $src/res/share/batch/freedesktop_integration/peazip.png \
58 $fs/opt/kde3/share/icons
59 cp -a $src/res/share/batch/freedesktop_integration/KDE-servicemenus/KDE3-konqueror/*.desktop \
60 $fs/opt/kde3/share/apps/konqueror/servicemenus
63 # Desktop entry for Pea
64 cat > $fs/usr/share/applications/pea.desktop <<EOT
65 [Desktop Entry]
66 Version=1.0
67 Encoding=UTF-8
68 Name=Pea
69 GenericName=Archiving Tool
70 Icon=peazip.png
71 Type=Application
72 Terminal=false
73 X-KDE-HasTempFileOption=true
74 Categories=GTK;KDE;Utility;Archiving;Compression;
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;
76 Exec=pea
77 EOT
79 # Desktop entries for Peazip
80 cp -a $src/res/share/batch/freedesktop_integration/peazip.desktop \
81 $fs/usr/share/applications/peazip.desktop
82 cp -a $src/res/share/batch/freedesktop_integration/peazip.desktop \
83 $fs/opt/kde3/share/applications/kde/peazip.desktop
85 # Creating the symbolic links ...
87 cd $fs/usr/bin
88 ln -s ../lib/peazip/pea pea
89 ln -s ../lib/peazip/peazip peazip
91 echo ""
92 echo ""
93 echo "# ------------------------------------------------------------------------------"
94 echo "#"
95 echo "# ___________________________ SliTaz GNU/Linux _________________________________"
96 echo "#"
97 echo "# !! Please, report bug's to (http://bugs.slitaz.org)."
98 echo "#"
99 echo "# !! Improvements and suggestions please visit our forum and leave your "
100 echo "# comment. (http://forum.slitaz.org) Thank you."
101 echo "#"
102 echo "# !! Need help? See: (http://www.slitaz.org/en/support.php)"
103 echo "#"
104 echo "# && The SliTaz GNU/Linux DevTeam. (http://people.slitaz.org)"
105 echo "# && The SliTaz GNU/Linux Association. (http://www.slitaz.org)"
106 echo "#"
107 echo "# ------------------------------------------------------------------------------"
108 echo ""
109 echo ""
110 }