blob: 193cd8c1340e6544587169115bf846c29e790a86 (
plain) (
blame)
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
|
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <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"
|