wok view irssi-scripts/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 4ce52a0b72fd
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 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
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 }