wok view nms/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (2 months ago)
parents ecc0d362278b
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 make &&
31 make prefix=/usr DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 }