wok view keychain/receipt @ rev 24497

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 19 14:19:02 2022 +0000 (2022-02-19)
parents 1f0773e2f6fe
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="keychain"
4 VERSION="2.8.5"
5 CATEGORY="network"
6 TAGS="ssh"
7 SHORT_DESC="SSH and GPG keys managment tools."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.funtoo.org/Keychain"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/funtoo/$PACKAGE/archive/$VERSION.tar.gz"
15 SUGGESTED="gnupg openssh"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/keychain $fs/usr/bin
28 }