blob: 0eee5732f8a2b7a6c708cc21f0a0edbe4be421a4 (
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
27
28
29
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaver=5.3
pkgname=highlight
pkgver=3.38
pkgrel=0
pkgdesc="Fast and flexible source code highlighter"
url="http://www.andre-simon.de/doku/highlight/highlight.html"
arch="all"
license="GPLv3"
makedepends="lua${_luaver}-dev boost-dev"
subpackages="$pkgname-doc"
source="http://www.andre-simon.de/zip/highlight-$pkgver.tar.bz2
lua.patch
"
builddir="$srcdir"/highlight-$pkgver
build() {
cd "$builddir"
make cli LUAPC=lua${_luaver}
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="f4772f53af84756c6706f8484c74578a97f9c61578955df53faadb307da9d296adc60a3a00c4cb21a028898a48b76032379d5474fa137b3d0e71199362d08b72 highlight-3.38.tar.bz2
3e1a8a4d770c0161f969fadd6fe309260470fa09d44453d6c582be34197bb751ae3422f16ecff46ab268bfe758bac7b3ef3a73d5afcb3c677458a41b323c0a97 lua.patch"
|