summaryrefslogblamecommitdiff
path: root/user/cloc/APKBUILD
blob: 328305587fede57016eaba15cc9a305b08bd204d (plain) (tree)
1
2
3
4
5
6
7
8

                                                         
            
           


                                                                      
             


                                                     
              



                                                                                       
                                          


         
                                                


           
                                              

 
                                                                                                                                                               
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=cloc
pkgver=1.86
pkgrel=0
pkgdesc="Perl utility for counting lines of code in various languages"
url="https://github.com/AlDanial/cloc"
arch="noarch"
license="GPL-2.0+"
depends="perl perl-regexp-common perl-algorithm-diff"
checkdepends="perl-parallel-forkmanager"
makedepends=""
subpackages="$pkgname-doc"
source="https://github.com/AlDanial/cloc/releases/download/$pkgver/cloc-$pkgver.tar.gz"

build() {
	make DESTDIR="$pkgdir" -C Unix doc
}

check() {
	make DESTDIR="$pkgdir" -C Unix test-perl
}

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

sha512sums="dc88f7499ab371eef5ae39352e10539a507bd77fa7b83d562e3b9774e053872ea56529ea937db9fafd50971900e03d95236450348d8981fa0123f936e893975c  cloc-1.86.tar.gz"