new: migrated more packages
This commit is contained in:
3
src/mandoc/.gitignore
vendored
Normal file
3
src/mandoc/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/mandoc/changes.md
Normal file
2
src/mandoc/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 1.14.6
|
||||
First version
|
28
src/mandoc/pkg.sh
Normal file
28
src/mandoc/pkg.sh
Normal 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}"
|
||||
}
|
Reference in New Issue
Block a user