aboutsummaryrefslogtreecommitdiffstats
path: root/main/highlight/APKBUILD
blob: 40d4f0950deeff352dc118154cd20a92f04a2502 (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.54
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="c5a0982e9cd5c48d1ffa3ce2286020c1285eacf32928b08e3718582f4d131b05726920156c4357e595403474d4c389fc70e2aff789e17962963b9d8d23ac6488  highlight-3.54.tar.bz2"