mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 04:56:55 +02:00
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=source-highlight
|
|
pkgver=3.1.9
|
|
pkgrel=14
|
|
pkgdesc="Produces a document with syntax highlighting"
|
|
url="https://www.gnu.org/software/src-highlite/"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
depends_dev="boost-dev"
|
|
makedepends="bison flex $depends_dev"
|
|
checkdepends="diffutils"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-bash-completion"
|
|
source="https://ftp.gnu.org/gnu/src-highlite/source-highlight-$pkgver.tar.gz
|
|
gcc11.patch
|
|
gcc12.patch
|
|
"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--with-bash-completion=/usr/share/bash-completion/completions \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make -j1 check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
d8e154e9a5d62c77807e4e5d36c0faed5ce2964291be5f8b83e2968a6de52229503689a4ca2109a717ae2632a14b63ec937ca0430c91684c72063f6bc0294195 source-highlight-3.1.9.tar.gz
|
|
91b009a754648a32a6332ffcac99853f12bd3b88a462b524180bfd366d736fac79570401599ca67c820117768aea781c96931c730f6fe757a471cf83f1110eb7 gcc11.patch
|
|
1348aa9eaf4167b65e197b82e7e21897e4a0290181a08999450dcac7a060f589fa9b644ecb7786a654f2fba216d2cab405955f506ab7da96ac1ff36f2b641156 gcc12.patch
|
|
"
|