wok view luksus/receipt @ rev 24263

updated perl-time-hires (1.9760 -> 1.9764)
author Hans-G?nter Theisgen
date Sun Jan 02 10:20:35 2022 +0100 (2022-01-02)
parents aadee5047c4e
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="luksus"
4 VERSION="1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Command line encryption management tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/thomasfrivold/luksus"
11 WGET_URL="https://github.com/thomasfrivold/luksus/archive/v$VERSION.tar.gz"
13 DEPENDS="bash dialog cryptsetup tcplay gnupg openssl"
14 BUILD_DEPENDS="wget"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/usr/share/luksus
26 cp -a $src/LUKSUS* $fs/usr/share/luksus
27 cat > $fs/usr/bin/luksus <<EOT
28 #!/bin/sh
30 cd /usr/share/luksus
31 exec ./LUKSUS "$@"
32 EOT
33 chmod 755 $fs/usr/bin/luksus
34 }