wok view kriss_feed/receipt @ rev 25594

Update some web_site/wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 11 10:40:23 2023 +0000 (16 months ago)
parents d8c511e24c20
children a66f312c374b
line source
1 # SliTaz package receipt.
3 PACKAGE="kriss_feed"
4 VERSION="8.7"
5 GITHASH="31c857d66c3cf8e8efd281201a1a97d3d87ee1b8"
6 CATEGORY="network"
7 SHORT_DESC="A simple and smart (or stupid) feed reader."
8 WEB_SITE="https://github.com/tontof/kriss_feed"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="other"
11 TARBALL="$PACKAGE-$VERSION"
12 WGET_URL="$WEB_SITE/raw/$GITHASH/index.php"
14 DEPENDS="php"
15 BUILD_DEPENDS="wget"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/tontof/kriss_feed/commits/master 2>/dev/null | \
21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/var/www/$PACKAGE
28 cd $fs/var/www/$PACKAGE
29 cp "$SOURCES_REPOSITORY/$TARBALL" $fs/var/www/$PACKAGE/index.php
30 }
32 post_install()
33 {
34 chown -R www "$1/var/www/$PACKAGE"
35 }