wok-6.x view irssi-scripts/receipt @ rev 25561
created recipe for ext4magic
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 30 06:26:09 2023 +0100 (18 months ago) |
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 }