wok annotate suplemon/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (11 months ago)
parents 5ea0ce1cecc0
children
rev   line source
paul@18292 1 # SliTaz package receipt.
paul@18292 2
paul@18292 3 PACKAGE="suplemon"
Hans-G?nter@21991 4 VERSION="0.2.0"
paul@18292 5 CATEGORY="utilities"
paul@18292 6 SHORT_DESC="Console text editor with multi cursor support."
paul@18292 7 MAINTAINER="paul@slitaz.org"
paul@18292 8 LICENSE="MIT"
paul@18292 9 WEB_SITE="https://github.com/richrd/suplemon"
Hans-G?nter@21991 10
Hans-G?nter@21991 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21991 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
paul@18292 13
paul@18292 14 DEPENDS="py3k"
Hans-G?nter@21991 15 BUILD_DEPENDS="py3k-dev"
paul@18292 16
pascal@25601 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25601 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
paul@18292 24 # Rules to configure and make the package.
paul@18292 25 compile_rules()
paul@18292 26 {
paul@18292 27 python3 setup.py install --root=$DESTDIR
paul@18292 28 }
paul@18292 29
paul@18292 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18292 31 genpkg_rules()
paul@18292 32 {
paul@18292 33 cp -a $install/usr $fs
paul@18292 34 }