mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 02:23:39 -05:00
24 lines
399 B
Bash
24 lines
399 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -euo pipefail
|
||
|
|
||
|
apk add --no-cache --virtual .chktex-build-deps \
|
||
|
autoconf \
|
||
|
automake \
|
||
|
gcc \
|
||
|
git \
|
||
|
libc-dev \
|
||
|
libtool \
|
||
|
make
|
||
|
|
||
|
git clone https://git.savannah.gnu.org/git/chktex.git &&
|
||
|
cd chktex/chktex &&
|
||
|
./autogen.sh --prefix=/usr/bin &&
|
||
|
./configure &&
|
||
|
make &&
|
||
|
install chktex /usr/bin
|
||
|
|
||
|
rm -rfv /chktex
|
||
|
|
||
|
apk del --no-network --purge .chktex-build-deps
|