wok view fzy/receipt @ rev 25599

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 13:38:12 2023 +0000 (10 months ago)
parents e1e1678c5265
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fzy"
4 VERSION="1.0"
5 CATEGORY="utilities"
6 SHORT_DESC="A fast, simple fuzzy finder."
7 LICENSE="MIT"
8 MAINTAINER="paul@slitaz.org"
9 WEB_SITE="https://github.com/jhawthorn/fzy"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/jhawthorn/$PACKAGE/releases/download/$VERSION/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make -j 1 &&
28 make PREFIX=/usr DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }