aboutsummaryrefslogtreecommitdiffstats
path: root/main/highlight/APKBUILD
blob: 0d6993cd052b03613ddf1430ca2b1e8035ef47ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaver=5.3
pkgname=highlight
pkgver=3.53
pkgrel=0
pkgdesc="Fast and flexible source code highlighter"
url="http://www.andre-simon.de/doku/highlight/highlight.html"
arch="all"
options="!check"  # No test suite.
license="GPL-3.0-or-later"
makedepends="lua$_luaver-dev boost-dev"
subpackages="$pkgname-doc"
source="http://www.andre-simon.de/zip/highlight-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	make cli LUAPC=lua$_luaver
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="b25340aa881e5188fb9862d4858fab17627a80329835723a75de95bbf523f2453f42fa4e6ed842345b5e2842d66a40f16b03c19fbbbea4a226e247a93130a5e3  highlight-3.53.tar.bz2"