aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2021-03-05 11:19:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2021-04-05 18:18:03 +0000
commit9c9aef71acfed1b06680e4a22fe1ce5d9800eb20 (patch)
treefc1133186775448ff46b961a4f1708862beda83e
parent33c9398136aea7c0607f1c5281bd863509d3e8ad (diff)
downloadaports-9c9aef71acfed1b06680e4a22fe1ce5d9800eb20.tar.gz
aports-9c9aef71acfed1b06680e4a22fe1ce5d9800eb20.tar.bz2
aports-9c9aef71acfed1b06680e4a22fe1ce5d9800eb20.tar.xz
main/source-highlight: new aport
Produces a document with syntax highlighting http://www.gnu.org/software/src-highlite/ needed by asciidoc 9.1
-rw-r--r--main/source-highlight/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/source-highlight/APKBUILD b/main/source-highlight/APKBUILD
new file mode 100644
index 0000000000..9e676c03d7
--- /dev/null
+++ b/main/source-highlight/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=source-highlight
+pkgver=3.1.9
+pkgrel=0
+pkgdesc="Produces a document with syntax highlighting"
+url="http://www.gnu.org/software/src-highlite/"
+arch="all"
+license="GPL-3.0-or-later"
+depends_dev="boost-dev"
+makedepends="bison flex $depends_dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://ftp.gnu.org/gnu/src-highlite/source-highlight-$pkgver.tar.gz"
+builddir="$srcdir/source-highlight-$pkgver"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ make -j1 check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d8e154e9a5d62c77807e4e5d36c0faed5ce2964291be5f8b83e2968a6de52229503689a4ca2109a717ae2632a14b63ec937ca0430c91684c72063f6bc0294195 source-highlight-3.1.9.tar.gz"