wok view pass/receipt @ rev 24626

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 07 17:32:18 2022 +0000 (2022-03-07)
parents 9ad97542cf5c
children e1e1678c5265
line source
1 # SliTaz package receipt.
3 PACKAGE="pass"
4 VERSION="1.7.3"
5 CATEGORY="security"
6 SHORT_DESC="The standard unix password manager."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.passwordstore.org/"
11 SOURCE="password-store"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="http://git.zx2c4.com/$SOURCE/snapshot/$TARBALL"
15 SUGGESTED="git gnupg"
16 DEPENDS="bash"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/zip/!d;s|.*$SOURCE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make 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 }