apk-tools: add man pages.

Closes #39853.
This commit is contained in:
Leah Neukirchen 2023-01-08 17:32:08 +01:00
parent 3543fb5dfc
commit d31f9c1ebf

View file

@ -1,12 +1,13 @@
# Template file for 'apk-tools' # Template file for 'apk-tools'
pkgname=apk-tools pkgname=apk-tools
version=2.12.10 version=2.12.10
revision=1 revision=2
build_style=gnu-makefile build_style=gnu-makefile
# Link libapk statically # Link libapk statically
make_build_args="LUAAPK=no LDFLAGS_apk.static= static" make_build_args="LUAAPK=no LDFLAGS_apk.static= static"
hostmakedepends="pkg-config lua53 lua53-zlib" hostmakedepends="pkg-config lua53 lua53-zlib scdoc"
makedepends="openssl-devel zlib-devel" makedepends="openssl-devel zlib-devel"
checkdepends="lua53-devel"
short_desc="Alpine Package Keeper (Alpine package manager)" short_desc="Alpine Package Keeper (Alpine package manager)"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only" license="GPL-2.0-only"
@ -15,6 +16,13 @@ distfiles="http://git.alpinelinux.org/cgit/${pkgname}/snapshot/${pkgname}-${vers
checksum=5dacd3d77cc8e7aa455565da51c9d5f83e4425110f46d8b4eb741fb68a21939c checksum=5dacd3d77cc8e7aa455565da51c9d5f83e4425110f46d8b4eb741fb68a21939c
CFLAGS="-Wno-error" CFLAGS="-Wno-error"
post_build() {
make docs
}
do_install() { do_install() {
vbin src/apk.static apk vbin src/apk.static apk
for f in doc/*.[58]; do
vman "$f"
done
} }