29 lines
796 B
Bash
29 lines
796 B
Bash
# Template file for 'apk-tools'
|
|
pkgname=apk-tools
|
|
version=2.14.0
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
# Link libapk statically
|
|
make_build_args="LUAAPK=no LDFLAGS_apk.static= static"
|
|
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 <leah@vuxu.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://git.alpinelinux.org/apk-tools"
|
|
distfiles="https://gitlab.alpinelinux.org/alpine/apk-tools/-/archive/v${version}/apk-tools-v${version}.tar.gz"
|
|
checksum=4c6db13039280814a10a3b3d89b29837b59769c69214a1861997e088eac107a5
|
|
CFLAGS="-Wno-error"
|
|
|
|
post_build() {
|
|
make docs
|
|
}
|
|
|
|
do_install() {
|
|
vbin src/apk.static apk
|
|
for f in doc/*.[58]; do
|
|
vman "$f"
|
|
done
|
|
}
|