new: migrated more packages

This commit is contained in:
ngn
2024-07-27 00:56:23 +03:00
parent 2b4d7c7d6e
commit 4b1ee5d9b2
36 changed files with 328 additions and 4 deletions

3
src/man-pages/.gitignore vendored Normal file

@ -0,0 +1,3 @@
.cache/
dist/
root/

2
src/man-pages/changes.md Normal file

@ -0,0 +1,2 @@
# 6.9.1
First version

35
src/man-pages/pkg.sh Normal file

@ -0,0 +1,35 @@
# general info
NAME="man-pages"
DESC="Manual pages for Linux kernel and C library interfaces"
VERSION="6.9.1"
# required files
FILES=(
"https://www.kernel.org/pub/linux/docs/man-pages/man-pages-${VERSION}.tar.xz"
"https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2017-a.tar.xz"
)
HASHES=(
"e23cbac29f110ba571f0da8523e79d373691466ed7f2a31301721817d34530bd"
"ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3"
)
# install and build depends
DEPENDS=()
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.xz"
tar xf "${NAME}-posix-2017-a.tar.xz"
pushd "${NAME}-${VERSION}"
rm -v man3/crypt*
make DESTDIR="${ROOTDIR}" prefix=/usr install
popd
pushd "${NAME}-posix-2017"
make DESTDIR="${ROOTDIR}" prefix=/usr install
popd
rm -r "${NAME}-${VERSION}"
rm -r "${NAME}-posix-2017"
}