aboutsummaryrefslogtreecommitdiffstats
path: root/main/highlight/APKBUILD
blob: 657a11ed4970f398a13685122c92289efc14d4ca (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaver=5.3
pkgname=highlight
pkgver=3.55
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() {
	make cli LUAPC=lua$_luaver
}

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

sha512sums="92966cb904f3c0f5fc6c22d0677d08d59d53b0a9ba3a9d9f6ee84c15dd21b345e53de715d329bc3a113c0831d1550ee25892931df8c1fd82de61242c48709e4d  highlight-3.55.tar.bz2"