smlinux/base/man-pages/man-pages.SMBuild

34 lines
No EOL
838 B
Text
Executable file

app=man-pages
version=5.13
build=1sml
homepage="https://www.kernel.org/doc/man-pages/"
download="https://cdn.kernel.org/pub/linux/docs/man-pages/man-pages-$version.tar.xz"
desc="Linux man pages"
requires="musl"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
make install prefix="" DESTDIR=$pkg
# Provided by mandoc
rm -fv "$pkg"/share/man/man7/man* \
"$pkg"/share/man/man7/mdoc*
# Provided by tzdata
rm -fv "$pkg"/share/man/man5/tzfile* \
"$pkg"/share/man/man8/tzselect* \
"$pkg"/share/man/man8/zic* \
"$pkg"/share/man/man8/zdump*
mkfinalpkg
}
sha512sums="
bd12fbf60c698fe6ea873e04d471414e369278c7f57574b02cd9c2519dec2aeb86a3208e4afd047b027f4e6b6c5250681ce037c373879a0ae0911c3c6563b6f4 man-pages-5.13.tar.lz
"