wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-doc"
4 VERSION="160"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz system documentation."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
13 current_version()
14 {
15 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
16 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
17 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p \
24 $fs/usr/share/doc \
25 $fs/usr/share/applications \
26 $fs/etc/skel/Desktop
27 cp -a $src/slitaz $fs/usr/share/doc
28 # Desktop file and pixmaps.
29 cp $src/applications/slitaz-doc.desktop \
30 $fs/etc/skel/Desktop
31 cp $src/applications/system-doc.desktop \
32 $fs/usr/share/applications
33 cp -a $src/pixmaps $fs/usr/share
34 chown -R root.root $fs/*
35 }