summaryrefslogblamecommitdiff
path: root/user/cloc/APKBUILD
blob: c05fdc470f06d4d475b6c488725386c7e576b5a2 (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.84
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="cfcc1854d7f3257bcd66f13b1053a856ae31acc35f94537e20cbb341ab256390bded1f00ff6b1ce2bc60a1a69379b6915d398297e2f878bc4eea190c59b22669  cloc-1.84.tar.gz"