smlinux/base/man-pages/man-pages.SMBuild
PktSurf 15e8567f19 Added man-pages to base
Added xfce4-sensors-plugin to xfce
Updated base and xfce4 build lists
Cleaned up code in bldpkg
2022-08-12 16:01:41 +05:30

34 lines
835 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-5.13.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="
a68c0bd5f078aff2f13f962060863e5d30734c1c562e8e9e3d5eda5a329b18ad3e9b4ebb883d31cacfc0a476f91fccb8dd4257598acd75d09dd21351893d3499 man-pages-5.13.tar.xz
"