wok-6.x view kriss_feed/receipt @ rev 25459
cookutils: rework umount_aufs()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 27 16:54:01 2022 +0000 (2022-09-27) |
parents | d8c511e24c20 |
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 '/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 }