wok-6.x annotate imapbackup/receipt @ rev 24495

updated dolibarr again (10.0.6 -> 14.0.5)
author Hans-G?nter Theisgen
date Sat Feb 19 13:42:19 2022 +0100 (2022-02-19)
parents daf2bdd6e3c7
children
rev   line source
pascal@22706 1 # SliTaz package receipt.
pascal@22706 2
pascal@22706 3 PACKAGE="imapbackup"
pascal@22706 4 VERSION="20181228"
pascal@22706 5 GITHASH=c0328cb4d6f854e61222510bec70fa44c95d6982
pascal@22706 6 CATEGORY="network"
pascal@22706 7 SHORT_DESC="Incremental backups of IMAP mailboxes"
pascal@22706 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@22706 9 LICENSE="MIT"
pascal@22706 10 TARBALL="$PACKAGE-$VERSION.zip"
pascal@22706 11 WEB_SITE="https://taoofmac.com/space/projects/imapbackup"
pascal@22706 12 WGET_URL="https://github.com/rcarmo/imapbackup/archive/$GITHASH.zip"
pascal@22706 13 TAGS="imap backup"
pascal@22706 14
pascal@22706 15 DEPENDS="python"
pascal@22706 16
pascal@24491 17 # What is the latest version available today?
pascal@24491 18 current_version()
pascal@24491 19 {
pascal@24491 20 wget -O - https://taoofmac.com/space/projects/imapbackup 2>/dev/null | \
pascal@24491 21 sed '/imapbackup-/!d;s|.*imapbackup-||;s|.py.*||;q'
pascal@24491 22 }
pascal@24491 23
pascal@22706 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@22706 25 genpkg_rules()
pascal@22706 26 {
pascal@22706 27 mkdir -p $fs/usr/bin $install/usr/share/doc
pascal@22706 28 cp $src/README.md $install/usr/share/doc
pascal@22706 29 cp $src/imapbackup.py $fs/usr/bin/imapbackup
pascal@22706 30 chmod +x $fs/usr/bin/imapbackup
pascal@22706 31 }