wok view peazip/receipt @ rev 19655

Add python-invoice2data
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 27 09:48:15 2017 +0100 (2017-01-27)
parents 246449237e90
children 4d2e27773596
line source
1 # SliTaz package receipt.
3 PACKAGE="peazip"
4 VERSION="6.0.0"
5 SYSTEM="LINUX"
6 ENV="GTK2"
7 CATEGORY="x-window"
8 SHORT_DESC="Open Source archive manager and data compression utility."
9 MAINTAINER="hackdorte@sapo.pt"
10 LICENSE="LGPL3"
11 WEB_SITE="http://peazip.org/peazip-linux.html"
13 TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tgz"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 DEPENDS="xorg-libX11 atk glibc-base cairo gtk+ gdk-pixbuf glib pango"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
22 mkdir -p $install/
23 cp -a $src/* $install/
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
31 # Build Tree
32 mkdir -p $install/usr/share/applications
33 mkdir -p $install/usr/share/pixmaps
34 cp -a $install/usr/local/share/applications/* $install/usr/share/applications
35 cp -a $install/usr/local/share/icons/* $install/usr/share/pixmaps
38 # Writing (pea.desktop) File
39 cat > $install/usr/share/applications/pea.desktop <<EOT
40 [Desktop Entry]
41 Version=1.0
42 Encoding=UTF-8
43 Name=Pea Checksum and Hash
44 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;
45 Exec=pea
46 Icon=peazip
47 Type=Application
48 Terminal=false
49 X-KDE-HasTempFileOption=true
50 Categories=GTK;KDE;Utility;System;Archiving;
51 Name[en_US]=Pea Checksum and Hash
52 Comment=Peazip Checksum and Hash
54 EOT
56 # Writing (pealauncher.desktop) File
57 cat > $install/usr/share/applications/pealauncher.desktop <<EOT
58 [Desktop Entry]
59 Version=1.0
60 Encoding=UTF-8
61 Name=Pealauncher
62 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;
63 Exec=pealauncher
64 Icon=peazip
65 Type=Application
66 Terminal=false
67 X-KDE-HasTempFileOption=true
68 Categories=GTK;KDE;Utility;System;Archiving;
69 Name[en_US]=Pealauncher
70 Comment=Drag here the archive to extract.
72 EOT
74 # All Done!
75 cp -a $install/* $fs
77 }