wok-current view irssi-scripts/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
parents | a78610b2eb47 |
children |
line source
1 # SliTaz package receipt
3 PACKAGE="irssi-scripts"
4 VERSION="2.0"
5 CATEGORY="network"
6 SHORT_DESC="Perl scripts for Irssi IRC client"
7 MAINTAINER="taziden@slitaz.org"
8 LICENSE="GPL2 BSD PublicDomain"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://scripts.irssi.org/"
11 WGET_URL="http://mirror.slitaz.org/sources/packages/i/$TARBALL"
13 DEPENDS="irssi"
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/irssi/scripts.irssi.org/commits/master 2>/dev/null | \
20 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/irssi/scripts
27 cp -a $src/*.pl $src/*.pm $fs/usr/share/irssi/scripts/
28 }