base/src/groff/pkg.sh

24 lines
441 B
Bash
Raw Normal View History

2024-07-21 16:37:19 +00:00
# general info
NAME="groff"
DESC="GNU roff"
VERSION="1.23.0"
# required files
FILES=("https://ftp.gnu.org/gnu/groff/groff-${VERSION}.tar.gz")
HASHES=("5e4f40315a22bb8a158748e7d5094c7d")
# install and build depends
DEPENDS=("gcc-libs" "perl")
BUILD=()
2024-07-29 23:57:37 +00:00
PACKAGE(){
2024-07-21 16:37:19 +00:00
tar xf "${NAME}-${VERSION}.tar.gz"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}-${VERSION}"
}