aboutsummaryrefslogtreecommitdiffstats
path: root/main/highlight/APKBUILD
blob: a0c7767bf35348e8297e90694a0d234e4f9851b4 (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.52
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/$pkgname-$pkgver.tar.bz2"

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

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

sha512sums="4a44f6c4d29836c6f1af9db02c4e989c7ce155bcb387ca294170c361ae6c41b7441b03810ee27e7b7cdbd3ec73907fb5746ab545b7a44dfc482cc242a86681fe  highlight-3.52.tar.bz2"