wok annotate ranger/receipt @ rev 25050
Up memtest-efi* (6.00b2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 20:41:29 2022 +0000 (2022-06-04) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@11564 | 1 # SliTaz package receipt. |
pascal@11564 | 2 |
pascal@11564 | 3 PACKAGE="ranger" |
Hans-G?nter@23606 | 4 VERSION="1.9.3" |
pascal@11564 | 5 CATEGORY="utilities" |
Hans-G?nter@21828 | 6 TAGS="file-manager" |
pascal@11564 | 7 SHORT_DESC="File manager." |
pascal@11564 | 8 MAINTAINER="paul@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
Hans-G?nter@21828 | 10 WEB_SITE="https://ranger.github.io/" |
Hans-G?nter@21828 | 11 |
pascal@11564 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21828 | 13 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" |
pascal@11564 | 14 |
pascal@14999 | 15 DEPENDS="python" |
pascal@14999 | 16 BUILD_DEPENDS="python python-dev" |
pascal@14999 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24299 | 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@11564 | 24 # Rules to configure and make the package. |
pascal@11564 | 25 compile_rules() |
pascal@11564 | 26 { |
paul@13432 | 27 python setup.py install --root=$DESTDIR |
pascal@11564 | 28 } |
pascal@11564 | 29 |
pascal@11564 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11564 | 31 genpkg_rules() |
pascal@11564 | 32 { |
Hans-G?nter@23606 | 33 cp -a $install/usr $fs |
Hans-G?nter@23606 | 34 |
paul@16113 | 35 # remove stuff |
Hans-G?nter@23606 | 36 rm -rf $fs/usr/share/man |
pascal@11564 | 37 } |