File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ mariadb
Original file line number Diff line number Diff line change 1+ python3
Original file line number Diff line number Diff line change @@ -25,9 +25,11 @@ homepage="https://www.python.org"
2525_bluez="bluez-5.78"
2626distfiles="
2727 https://www.python.org/ftp/python/${version%rc*}/Python-${version}.tar.xz
28+ https://www.python.org/ftp/python/doc/${version}/python-${version}-docs-html.tar.bz2
2829 ${KERNEL_SITE}/bluetooth/${_bluez}.tar.xz
2930"
3031checksum="a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b
32+ 1ac42341fdb73ff6176f6004ba0d8276b8b61b06a9bb80bf2e6ccc170f7fd47c
3133 830fed1915c5d375b8de0f5e6f45fcdea0dcc5ff5ffb3d31db6ed0f00d73c5e3"
3234skip_extraction="${_bluez}.tar.xz"
3335
@@ -58,6 +60,11 @@ post_extract() {
5860 bsdtar -C External --strip-components=1 -x \
5961 -f "${_srcdistdir}/${_bluez}.tar.xz" "${_bluez}/lib/*.h"
6062 mv External/lib External/bluetooth
63+
64+ # Extract Python documents
65+ mkdir docs
66+ bsdtar -C docs --strip-components=1 -x \
67+ -f "${_srcdistdir}/python-${version}-docs-html.tar.bz2"
6168}
6269
6370post_patch() {
@@ -176,3 +183,13 @@ python3-devel_package() {
176183 mv "${PKGDESTDIR}/${py3_inc}/pyconfig.h" "${DESTDIR}/${py3_inc}"
177184 }
178185}
186+
187+ python3-doc_package() {
188+ short_desc+=" - documents"
189+ depends="${sourcepkg}-${version}_${revision}"
190+ pkg_install() {
191+ local _docs_path="usr/share/doc/python3/"
192+ vmkdir $_docs_path
193+ vcopy docs/* $_docs_path
194+ }
195+ }
Original file line number Diff line number Diff line change 1+ s6-frontend
Original file line number Diff line number Diff line change 1+ # Template file for 's6-frontend'
2+ pkgname=s6-frontend
3+ version=0.0.1.1
4+ revision=1
5+ build_style=gnu-configure
6+ configure_args="--libexecdir=/usr/libexec --disable-s6li
7+ --with-store-list=/usr/share/s6-rc/policy/sources:/etc/s6-rc/sources/global:/etc/s6-rc/sources/local"
8+ makedepends="execline-devel skalibs-devel s6-devel s6-rc-devel"
9+ depends="s6-linux-init"
10+ short_desc="Friendlier user interfaces for the s6 family of programs"
11+ maintainer="Komeil Parseh <komeilparseh@disroot.org>"
12+ license="ISC"
13+ homepage="https://git.skarnet.org/software/s6-frontend/"
14+ changelog="https://git.skarnet.org/cgi-bin/cgit.cgi/s6-frontend/plain/NEWS"
15+ distfiles="https://skarnet.org/software/s6-frontend/s6-frontend-${version}.tar.gz"
16+ checksum=2c1ac4f64b04400cd7c81cd9be222be52b07b7d8955a876b9f9f3f8c2328dfeb
17+
18+
19+ case "$XBPS_TARGET_MACHINE" in
20+ *-musl)
21+ makedepends+=" nsss-devel"
22+ configure_args+=" --enable-nsss --with-include=${XBPS_CROSS_BASE}/usr/include/nsss"
23+ ;;
24+ esac
25+
26+ post_install() {
27+ vlicense COPYING
28+ vdoc README
29+ vcopy "doc/*" usr/share/doc/${pkgname}
30+ }
31+
32+ s6-doc_package() {
33+ short_desc="Documentation for s6"
34+ depends="${sourcepkg}>=${version}_${revision} s6-man-pages"
35+ pkg_install() {
36+ vmove usr/share/doc
37+ }
38+ }
You can’t perform that action at this time.
0 commit comments