wok view ranger/receipt @ rev 25039
Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 14:53:15 2022 +0000 (2022-05-26) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ranger"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 TAGS="file-manager"
7 SHORT_DESC="File manager."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://ranger.github.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
35 # remove stuff
36 rm -rf $fs/usr/share/man
37 }