# Description: Produces a syntax-highlighted document from input code # URL: https://www.gnu.org/software/src-highlite/ # Maintainer: Aaron Ball, nullspoon at oper dot io # Depends on: boost name=source-highlight version=3.1.9 release=2 source=( https://ftp.gnu.org/gnu/src-highlite/${name}-${version}.tar.gz gcc11.patch # From https://gitlab.archlinux.org/archlinux/packaging/packages/source-highlight/-/blob/main/PKGBUILD?ref_type=heads ) build() { cd ${name}-${version} patch -p1 < ${SRC}/gcc11.patch # Generate the Makefile ./configure --prefix=/usr # Compile and install make make DESTDIR=$PKG install } # vim: set ft=sh ts=2 et: