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/mandoc/.gitignore vendored Normal file
View File

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

2
src/mandoc/changes.md Normal file
View File

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

28
src/mandoc/pkg.sh Normal file
View File

@ -0,0 +1,28 @@
# general info
NAME="mandoc"
DESC="UNIX manpage compiler toolset"
VERSION="1.14.6"
# required files
FILES=("https://mandoc.bsd.lv/snapshots/mandoc-${VERSION}.tar.gz")
HASHES=("f0adf24e8fdef5f3e332191f653e422a")
# install and build depends
DEPENDS=("zlib" "less")
BUILD=()
build(){
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
./configure
make mandoc
install -dm755 "${ROOTDIR}/usr/share/man/man1"
install -dm755 "${ROOTDIR}/usr/bin"
install -vm755 mandoc "${ROOTDIR}/usr/bin"
install -vm644 mandoc.1 "${ROOTDIR}/usr/share/man/man1"
cd .. && rm -r "${NAME}-${VERSION}"
}