wok view pass/receipt @ rev 25605
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 19 10:59:53 2023 +0000 (16 months ago) |
parents | e1e1678c5265 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pass"
4 VERSION="1.7.4"
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/"
10 REPOLOGY="password-store"
12 SOURCE="password-store"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="https://git.zx2c4.com/$SOURCE/snapshot/$TARBALL"
16 SUGGESTED="git gnupg tree"
17 DEPENDS="bash"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
23 sed "/latest/d;/$SOURCE-[0-9]/!d;/zip/!d;s|.*$SOURCE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders bin
36 }