summaryrefslogtreecommitdiff
path: root/source-highlight/Pkgfile
blob: 2559770a9173aa3b4a9510da8f83720c83c843fd (plain)
    1 # Description: Produces a syntax-highlighted document from input code
    2 # URL:         https://www.gnu.org/software/src-highlite/
    3 # Maintainer:  Aaron Ball, nullspoon at oper dot io
    4 # Depends on:  boost
    5 
    6 name=source-highlight
    7 version=3.1.9
    8 release=2
    9 source=(
   10   https://ftp.gnu.org/gnu/src-highlite/${name}-${version}.tar.gz
   11   gcc11.patch # From https://gitlab.archlinux.org/archlinux/packaging/packages/source-highlight/-/blob/main/PKGBUILD?ref_type=heads
   12 )
   13 
   14 build() {
   15   cd ${name}-${version}
   16 
   17   patch -p1 < ${SRC}/gcc11.patch
   18 
   19   # Generate the Makefile
   20   ./configure --prefix=/usr 
   21 
   22   # Compile and install
   23   make
   24   make DESTDIR=$PKG install
   25 }
   26 
   27 
   28 # vim: set ft=sh ts=2 et:

Generated by cgit