chktex: initial commit, version 1.7.6

This commit is contained in:
Tim Biermann 2021-09-20 22:07:29 +02:00
parent 1122be867c
commit c896bb5cef
4 changed files with 51 additions and 0 deletions

11
chktex/.footprint Normal file
View File

@ -0,0 +1,11 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/chktex
-rwxr-xr-x root/root usr/bin/chkweb
-rwxr-xr-x root/root usr/bin/deweb
drwxr-xr-x root/root usr/etc/
-rw-r--r-- root/root usr/etc/chktexrc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/deweb.1.gz

6
chktex/.signature Normal file
View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3w6pmzI/OiENxHD/ljOxLGAtEDnhOyqTwXMzYQou5/LUuZD/SiI0RxiyiWG7izO/2/214g9g/NP+y/CxgRVG5gs=
SHA256 (Pkgfile) = bdfc33afa4b001dbe81cc7f6da7325cd849da813bac173a76677c984d16cc65c
SHA256 (.footprint) = 726a2af5a660ce21b0b801db11620641d0c608a63f06d1a8ef94831beb25af0d
SHA256 (chktex-1.7.6.tar.gz) = 8ac0e5ca213b2012d44c28f9e4feb9783df44750eb0c30a237d81ff58ef34c8d
SHA256 (encoding.patch) = 18b629bc99eb82aeb85bf1cc9994d50b712fe81abebbcfa991b0fc16449e48b6

19
chktex/Pkgfile Normal file
View File

@ -0,0 +1,19 @@
# Description: LaTeX semantic checker
# URL: https://www.nongnu.org/chktex/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libpcre texlive
name=chktex
version=1.7.6
release=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz
encoding.patch)
build() {
cd $name-$version
patch -Np0 -i $SRC/encoding.patch
./autogen.sh
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}

15
chktex/encoding.patch Normal file
View File

@ -0,0 +1,15 @@
$NetBSD: patch-ChkTeX.tex.in,v 1.1 2018/05/16 12:42:19 markd Exp $
Specify the input encoding, fixing build with TeX Live 2018
debian bug 896178
--- ChkTeX.tex.in.orig 2016-02-03 05:18:36.000000000 +0000
+++ ChkTeX.tex.in
@@ -37,6 +37,7 @@
\documentclass[a4paper]{article}
%latex
+\usepackage[latin1]{inputenc}
\usepackage{array, tabularx, verbatim, multicol}
\usepackage[T1]{fontenc}
\nonfrenchspacing