aboutsummaryrefslogtreecommitdiffstats
path: root/main/highlight/APKBUILD
blob: 46eaff04a54cf98e0273cfd051c73c42df769c6b (plain) (blame)
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
27
28
29
30
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaver=5.3
pkgname=highlight
pkgver=3.44
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
        lua.patch
       "
builddir="$srcdir/$pkgname-$pkgver"

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

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

sha512sums="a0b9a147cadec72b80b97d92e6fac9312f134ef71a4a67121cab3646668424379c14a9189b5bdd0d892790cc99edc955090967caf6816239151d0e8a19bcfbd7  highlight-3.44.tar.bz2
3e1a8a4d770c0161f969fadd6fe309260470fa09d44453d6c582be34197bb751ae3422f16ecff46ab268bfe758bac7b3ef3a73d5afcb3c677458a41b323c0a97  lua.patch"