wok-current annotate slitaz-doc/receipt @ rev 25127
updated arpwatch (2.1a15 -> 3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:41:22 2022 +0100 (2022-06-28) |
parents | c3aef97a3cef |
children |
rev | line source |
---|---|
pankso@421 | 1 # SliTaz package receipt. |
pankso@421 | 2 |
pankso@421 | 3 PACKAGE="slitaz-doc" |
pascal@23926 | 4 VERSION="160" |
pankso@421 | 5 CATEGORY="base-system" |
pankso@421 | 6 SHORT_DESC="SliTaz system documentation." |
pankso@421 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL3" |
pankso@421 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@421 | 10 WEB_SITE="http://www.slitaz.org/" |
pascal@14805 | 11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" |
pankso@421 | 12 |
pascal@24069 | 13 current_version() |
pascal@24069 | 14 { |
pascal@24069 | 15 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ |
pascal@24069 | 16 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ |
pascal@24069 | 17 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24069 | 18 } |
pascal@24069 | 19 |
pankso@421 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@421 | 21 genpkg_rules() |
pankso@421 | 22 { |
pankso@10742 | 23 mkdir -p \ |
pankso@10742 | 24 $fs/usr/share/doc \ |
pankso@10690 | 25 $fs/usr/share/applications \ |
pankso@10743 | 26 $fs/etc/skel/Desktop |
pankso@10742 | 27 cp -a $src/slitaz $fs/usr/share/doc |
pankso@10742 | 28 # Desktop file and pixmaps. |
pankso@10863 | 29 cp $src/applications/slitaz-doc.desktop \ |
pankso@10863 | 30 $fs/etc/skel/Desktop |
pankso@10863 | 31 cp $src/applications/system-doc.desktop \ |
pankso@10863 | 32 $fs/usr/share/applications |
pankso@2636 | 33 cp -a $src/pixmaps $fs/usr/share |
pankso@421 | 34 chown -R root.root $fs/* |
pankso@421 | 35 } |