forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate
More file actions
24 lines (21 loc) · 702 Bytes
/
template
File metadata and controls
24 lines (21 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Template file for 'python3-doc'
pkgname=python3-doc
version=3.14
revision=1
short_desc="Python programming language documnetion (${version} series)"
maintainer="Komeil Parseh <komeilparseh@disroot.org>"
license="Python-2.0"
homepage="https://docs.python.org"
distfiles=" https://www.python.org/ftp/python/doc/${version}/python-${version}-docs-html.tar.bz2"
checksum="1ac42341fdb73ff6176f6004ba0d8276b8b61b06a9bb80bf2e6ccc170f7fd47c"
do_extract() {
# Extract Python documents
mkdir docs
bsdtar -C docs --strip-components=1 -x \
-f "${_srcdistdir}/python-${version}-docs-html.tar.bz2"
}
do_install() {
local _docs_path="usr/share/doc/python3/"
vmkdir $_docs_path
vcopy docs/* $_docs_path
}