wok view pass/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (24 months ago)
parents 2f230197370e
children 36b72d9c181b
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="https://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 }