From 913b9c2e0bf20b97dc162883c85cf50a5e0bae8a Mon Sep 17 00:00:00 2001 From: Piraty Date: Mon, 10 Oct 2022 00:12:42 +0200 Subject: [PATCH] apk-tools: add man pages --- srcpkgs/apk-tools/template | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/srcpkgs/apk-tools/template b/srcpkgs/apk-tools/template index 63a6a9fdfdcd..1806b797fdad 100644 --- a/srcpkgs/apk-tools/template +++ b/srcpkgs/apk-tools/template @@ -1,12 +1,13 @@ # Template file for 'apk-tools' pkgname=apk-tools version=2.12.10 -revision=1 +revision=2 build_style=gnu-makefile # Link libapk statically 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" +checkdepends="lua53-devel" short_desc="Alpine Package Keeper (Alpine package manager)" maintainer="Leah Neukirchen " license="GPL-2.0-only" @@ -15,6 +16,13 @@ distfiles="http://git.alpinelinux.org/cgit/${pkgname}/snapshot/${pkgname}-${vers checksum=5dacd3d77cc8e7aa455565da51c9d5f83e4425110f46d8b4eb741fb68a21939c CFLAGS="-Wno-error" +post_build() { + make ${makejobs} docs +} + do_install() { vbin src/apk.static apk + for f in doc/*.5 doc/*.8; do + vman "$f" + done }