wok annotate imapbox/receipt @ rev 25726
renamed xfce4-ristretto to ristretto
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 17:30:48 2024 +0100 (2 months ago) |
parents | 89c8d8b6cf48 |
children |
rev | line source |
---|---|
pascal@20689 | 1 # SliTaz package receipt. |
pascal@20689 | 2 |
pascal@20689 | 3 PACKAGE="imapbox" |
pascal@20689 | 4 GITHASH="c7265e34b03ee41963aad243055a5508c9e88fc9" |
pascal@25674 | 5 VERSION="20181231" |
pascal@20689 | 6 CATEGORY="network" |
pascal@20689 | 7 SHORT_DESC="Dump imap inbox in a backupable format: html, json and attachements" |
pascal@20689 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20689 | 9 LICENSE="MIT" |
pascal@20689 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@20689 | 11 WEB_SITE="https://github.com/polo2ro/imapbox" |
pascal@20689 | 12 WGET_URL="https://codeload.github.com/polo2ro/imapbox/zip/$GITHASH" |
pascal@20689 | 13 |
pascal@20689 | 14 DEPENDS="python-chardet python-six" |
pascal@20689 | 15 SUGGESTED="python-pdfkit" |
pascal@20689 | 16 |
pascal@24476 | 17 # What is the latest version available today? |
pascal@24476 | 18 current_version() |
pascal@24476 | 19 { |
pascal@24476 | 20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \ |
pascal@25674 | 21 sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q' |
pascal@24476 | 22 } |
pascal@24476 | 23 |
pascal@20689 | 24 # Rules to configure and make the package. |
pascal@20689 | 25 compile_rules() |
pascal@20689 | 26 { |
pascal@20689 | 27 patch -p1 < $stuff/slitaz.patch |
pascal@20689 | 28 } |
pascal@20689 | 29 |
pascal@20689 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20689 | 31 genpkg_rules() |
pascal@20689 | 32 { |
pascal@20689 | 33 mkdir -p $fs/usr/share/imapbox |
pascal@20689 | 34 cp $src/* $fs/usr/share/imapbox |
pascal@20689 | 35 } |