wok-current view gritz/receipt @ rev 25372
updated trash-cli (0.17.1.14 -> 0.22.4.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:58:56 2022 +0100 (2022-07-29) |
parents | 7f212d212273 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gritz"
4 VERSION="1.0"
5 CATEGORY="misc"
6 SHORT_DESC="A txt reader, which makes you reading twice as fast as usual."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/xypiie/gritz"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="perl-gtk2"
14 BUILD_DEPENDS="wget perl"
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 libperl=$(tazpkg list-files perl | \
26 sed '/^\/usr\/lib\/perl/!d;s|\(/usr/lib/perl[^/]*/[^/]*\).*|\1|;q')
27 mkdir -p $fs/usr/bin $fs$libperl
28 cp -a $src/lib/*.pm $fs$libperl
29 cp -a $src/gritz.pl $fs/usr/bin/gritz
30 }