aboutsummaryrefslogblamecommitdiffstats
path: root/main/highlight/APKBUILD
blob: cca54e5660d6777bc6528d6e440572ed1cbc9712 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           
                                                   
           
                 
           
        

                                                             
                                                
                                  
                          
                                       
                          
                                                                

         
                                    


           
                                      

 
                                                                                                                                                                     
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaver=5.4
pkgname=highlight
pkgver=3.62
pkgrel=0
pkgdesc="Fast and flexible source code highlighter"
url="http://www.andre-simon.de/doku/highlight/highlight.html"
arch="all !mips !mips64" # Segfault during build
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 LUA_PKG_NAME=lua5.4
}

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

sha512sums="801c9fed076d1220de8163f88d0d56bab92feb901128e04be0ae4b9094c117fdb7ff37923918037e31916a180698e33ed1442d7de12fb8ef670ee3e66543ed7c  highlight-3.62.tar.bz2"