wok-current view kriss_feed/receipt @ rev 24688
updated jhead (3.04 -> 3.06.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 13:31:56 2022 +0100 (2022-03-12) |
parents | 1533e09458ef |
children | e1e1678c5265 |
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_list_item/!d;s|.*commits/\(.......\).*|\1|;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 }