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

                                                           
            
           


                                                                      
             


                                                     
              
                          
                                                                                        

         
                                          


         
                                                


           
                                              

 
                                                                                                                                                               
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=cloc
pkgver=1.90
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/v$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="368692b308e8da04246c059814bc24433c128d7937ec2efc12359af17dec0026bda9c982097eab0318852a89cc48098e845bfc10f2ed7340dce824d6ae1415c9  cloc-1.90.tar.gz"