wok view kriss_feed/receipt @ rev 25682
Up libqcow (20240308)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 24 18:25:46 2024 +0000 (5 months ago) |
parents | e1e1678c5265 |
children |
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 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
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 }