wok view slitaz-doc/receipt @ rev 25500
new default version for java8-jre
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 30 10:14:12 2022 +0100 (22 months ago) |
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 }