wok-6.x view fzy/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents 085da06d2c37
children 82d54eca72be
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 MAINTAINER="paul@slitaz.org"
8 WEB_SITE="https://github.com/jhawthorn/fzy"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/jhawthorn/$PACKAGE/release/download/$VERSION/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 current_version()
17 {
18 wget -O - ${WGET_URL%/down*}s 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make -j 1 &&
26 make PREFIX=/usr DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }