2021-07-12 19:40:04 +00:00

35 lines
803 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=source-highlight
pkgver=3.1.9
pkgrel=2
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"
source="https://ftp.gnu.org/gnu/src-highlite/source-highlight-$pkgver.tar.gz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
d8e154e9a5d62c77807e4e5d36c0faed5ce2964291be5f8b83e2968a6de52229503689a4ca2109a717ae2632a14b63ec937ca0430c91684c72063f6bc0294195 source-highlight-3.1.9.tar.gz
"