wok-current view sic/receipt @ rev 24474

updated desktop-file-utils and desktop-file-utils-extra (0.24 -> 0.26)
author Hans-G?nter Theisgen
date Thu Feb 17 17:07:56 2022 +0100 (2022-02-17)
parents c5ddf763228a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="sic"
4 VERSION="1.2"
5 CATEGORY="network"
6 SHORT_DESC="Simple IRC client."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://tools.suckless.org/sic"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://dl.suckless.org/tools/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make clean &&
25 make install PREFIX=/usr DESTDIR=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }