highlight: update to 4.1.

By ericonr:
- use rm -r so the build complains if files stop existing

Closes: #31289 [via git-merge-pr]
This commit is contained in:
mobinmob 2021-06-04 23:09:19 +03:00 committed by Érico Nogueira
parent 45b430606c
commit 807a75a60a

View file

@ -1,6 +1,6 @@
# Template file for 'highlight'
pkgname=highlight
version=3.58
version=4.1
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config swig perl"
@ -10,7 +10,9 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://www.andre-simon.de/doku/highlight/en/highlight.php"
distfiles="http://www.andre-simon.de/zip/${pkgname}-${version}.tar.bz2"
checksum=df80251be1f83adfc58aaad589fd9a8f9a3866b0d89b9f3c81b1696f07db45f8
checksum=3a4b6aa55b9837ea217f78e1f52bb294dbf3aaf4ccf8a5553cf859be4fbf3907
# No check target, fails spectacularly when asked
make_check=no
conf_files="/etc/highlight/filetypes.conf"
post_extract() {
@ -29,13 +31,8 @@ pre_build() {
make -C extras/swig perl "CXX=$CXX -fPIC -lperl $CFLAGS $_ecflags $LDFLAGS"
}
do_check() {
# No check target, fails spectacularly when asked
:
}
post_install() {
rm -rf ${DESTDIR}/usr/share/doc/highlight/extras
rm -r ${DESTDIR}/usr/share/doc/highlight/extras
}
highlight-perl_package() {