ccache: do not vendor manpage

This commit is contained in:
Đoàn Trần Công Danh 2022-12-21 23:20:37 +07:00
parent b3e006f53d
commit 7eca2fe952
2 changed files with 11 additions and 3932 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,15 +3,18 @@ pkgname=ccache
version=4.7.4
revision=1
build_style=cmake
configure_args="-DENABLE_TESTING=OFF -DREDIS_STORAGE_BACKEND=OFF"
configure_args="-DENABLE_TESTING=OFF -DREDIS_STORAGE_BACKEND=OFF
-DENABLE_DOCUMENTATION=OFF"
makedepends="libzstd-devel"
short_desc="Fast C/C++ Compiler Cache"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://ccache.dev"
changelog="https://ccache.dev/releasenotes.html"
distfiles="https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}.tar.xz"
checksum=df0c64d15d3efaf0b4f6837dd6b1467e40eeaaa807db25ce79c3a08a46a84e36
distfiles="https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}.tar.xz
https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}-linux-x86_64.tar.xz"
checksum="df0c64d15d3efaf0b4f6837dd6b1467e40eeaaa807db25ce79c3a08a46a84e36
0b700cc10884f7faf615203241d34eba7ebe0723f38f6aeb77569a556ff37313"
if [ -n "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DENABLE_TESTING=ON"
@ -21,6 +24,10 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
post_extract() {
mv ccache-${version}/* .
}
post_install() {
vmkdir usr/lib/ccache/bin
# clang
@ -42,5 +49,5 @@ post_install() {
done
done
# pregenerated manpage to avoid bringing ruby into the build
vman ${FILESDIR}/ccache.1
vman ccache-${version}-linux-x86_64/ccache.1
}