wok-current view nms/receipt @ rev 25361
sshrc: typo in wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 27 16:25:20 2022 +0000 (2022-07-27) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="nms"
4 VERSION="1.0.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Decrypting effects for text."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/bartobri/no-more-secrets"
10 REPOLOGY="no-more-secrets"
12 SOURCE="no-more-secrets"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="$WEB_SITE/archive/v$VERSION/$TARBALL"
16 PROVIDE="no-more-secrets"
17 DEPENDS="ncurses"
18 BUILD_DEPENDS="ncurses-dev"
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 make &&
30 make prefix=/usr DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 }