wok annotate cherrytree/receipt @ rev 24161
updated memtester (4.3.0 -> 4.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 22 13:43:13 2021 +0100 (2021-12-22) |
parents | a4aa1fff8555 |
children | 1be16cc1cd50 |
rev | line source |
---|---|
al@13721 | 1 # SliTaz package receipt. |
al@13721 | 2 |
al@13721 | 3 PACKAGE="cherrytree" |
Hans-G?nter@22594 | 4 VERSION="0.38.10" |
al@13721 | 5 CATEGORY="office" |
Hans-G?nter@22594 | 6 SHORT_DESC="A hierarchical note taking application." |
al@13721 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15202 | 8 LICENSE="GPL2" |
Hans-G?nter@22594 | 9 WEB_SITE="https://www.giuspen.com/cherrytree/" |
Hans-G?nter@20785 | 10 |
al@13721 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22594 | 12 WGET_URL="https://github.com/giuspen/$PACKAGE/archive/$VERSION.tar.gz" |
al@13721 | 13 |
Hans-G?nter@22594 | 14 DEPENDS="p7zip-full pygtk pygtksourceview python" |
Hans-G?nter@22594 | 15 BUILD_DEPENDS="desktop-file-utils pygtksourceview-dev python" |
al@13721 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
al@13721 | 23 # Rules to configure and make the package. |
al@13721 | 24 compile_rules() |
al@13721 | 25 { |
al@13721 | 26 python setup.py install --prefix=$install/usr -f |
al@13721 | 27 } |
al@13721 | 28 |
al@13721 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13721 | 30 genpkg_rules() |
al@13721 | 31 { |
al@17261 | 32 mkdir -p $fs/usr/share |
Hans-G?nter@22594 | 33 |
Hans-G?nter@22594 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22594 | 35 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22594 | 36 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@22594 | 37 cp -a $install/usr/share/cherrytree $fs/usr/share |
Hans-G?nter@22594 | 38 cp -a $install/usr/share/icons $fs/usr/share |
al@13721 | 39 } |