wok-6.x annotate peazip/receipt @ rev 18995
Add: PeaZip 6.0.0 Env:GTK2 - (peazip.org).
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Sat Mar 19 01:26:01 2016 -0300 (2016-03-19) |
parents | |
children | 80e1ac5015cb |
rev | line source |
---|---|
hackdorte@18995 | 1 # SliTaz package receipt. |
hackdorte@18995 | 2 |
hackdorte@18995 | 3 PACKAGE="peazip" |
hackdorte@18995 | 4 VERSION="6.0.0" |
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@18995 | 9 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@18995 | 10 LICENSE="LGPL3" |
hackdorte@18995 | 11 WEB_SITE="http://peazip.org/peazip-linux.html" |
hackdorte@18995 | 12 |
hackdorte@18995 | 13 TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tgz" |
hackdorte@18995 | 14 WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/$VERSION/$TARBALL" |
hackdorte@18995 | 15 |
hackdorte@18995 | 16 DEPENDS="xorg-libX11 atk glibc-base cairo gtk+ gdk-pixbuf glib pango" |
hackdorte@18995 | 17 |
hackdorte@18995 | 18 # Rules to configure and make the package. |
hackdorte@18995 | 19 compile_rules() |
hackdorte@18995 | 20 { |
hackdorte@18995 | 21 |
hackdorte@18995 | 22 mkdir -p $install/ |
hackdorte@18995 | 23 cp -a $src/* $install/ |
hackdorte@18995 | 24 |
hackdorte@18995 | 25 } |
hackdorte@18995 | 26 |
hackdorte@18995 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@18995 | 28 genpkg_rules() |
hackdorte@18995 | 29 { |
hackdorte@18995 | 30 |
hackdorte@18995 | 31 # Build Tree |
hackdorte@18995 | 32 mkdir -p $install/usr/share/applications |
hackdorte@18995 | 33 mkdir -p $install/usr/share/pixmaps |
hackdorte@18995 | 34 cp -a $install/usr/local/share/applications/* $install/usr/share/applications |
hackdorte@18995 | 35 cp -a $install/usr/local/share/icons/* $install/usr/share/pixmaps |
hackdorte@18995 | 36 |
hackdorte@18995 | 37 |
hackdorte@18995 | 38 # Writing (pea.desktop) File |
hackdorte@18995 | 39 cat > $install/usr/share/applications/pea.desktop <<EOT |
hackdorte@18995 | 40 [Desktop Entry] |
hackdorte@18995 | 41 Version=1.0 |
hackdorte@18995 | 42 Encoding=UTF-8 |
hackdorte@18995 | 43 Name=Pea Checksum and Hash |
hackdorte@18995 | 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; |
hackdorte@18995 | 45 Exec=pea |
hackdorte@18995 | 46 Icon=peazip |
hackdorte@18995 | 47 Type=Application |
hackdorte@18995 | 48 Terminal=false |
hackdorte@18995 | 49 X-KDE-HasTempFileOption=true |
hackdorte@18995 | 50 Categories=GTK;KDE;Utility;System;Archiving; |
hackdorte@18995 | 51 Name[en_US]=Pea Checksum and Hash |
hackdorte@18995 | 52 Comment=Peazip Checksum and Hash |
hackdorte@18995 | 53 |
hackdorte@18995 | 54 EOT |
hackdorte@18995 | 55 |
hackdorte@18995 | 56 # Writing (pealauncher.desktop) File |
hackdorte@18995 | 57 cat > $install/usr/share/applications/pealauncher.desktop <<EOT |
hackdorte@18995 | 58 [Desktop Entry] |
hackdorte@18995 | 59 Version=1.0 |
hackdorte@18995 | 60 Encoding=UTF-8 |
hackdorte@18995 | 61 Name=Pealauncher |
hackdorte@18995 | 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; |
hackdorte@18995 | 63 Exec=pealauncher |
hackdorte@18995 | 64 Icon=peazip |
hackdorte@18995 | 65 Type=Application |
hackdorte@18995 | 66 Terminal=false |
hackdorte@18995 | 67 X-KDE-HasTempFileOption=true |
hackdorte@18995 | 68 Categories=GTK;KDE;Utility;System;Archiving; |
hackdorte@18995 | 69 Name[en_US]=Pealauncher |
hackdorte@18995 | 70 Comment=Drag here the archive to extract. |
hackdorte@18995 | 71 |
hackdorte@18995 | 72 EOT |
hackdorte@18995 | 73 |
hackdorte@18995 | 74 # All Done! |
hackdorte@18995 | 75 cp -a $install/* $fs |
hackdorte@18995 | 76 |
hackdorte@18995 | 77 } |