aboutsummaryrefslogtreecommitdiffstats
path: root/main/highlight/APKBUILD
blob: c75b5e44f16e2df7be652f5913c24070cadadcbf (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.51
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="899f8bb735c061c3561250d2747df3e7a5776a8fd54dfb073a48b4f709732a92c906b0f2b95cb717bfc2fe71fc99d4b5b3e6e9e4983048e1a23409895fa8b87d  highlight-3.51.tar.bz2"