blob: 8cb80f1d59814e422e2cea806258618e74e1e459 (
plain)
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
29
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=cloc
pkgver=1.66
pkgrel=0
pkgdesc="Count lines of code"
url="https://github.com/AlDanial/cloc"
arch="noarch"
license="GPL"
depends="perl perl-algorithm-diff perl-regexp-common"
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="https://github.com/AlDanial/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver/Unix
build () {
make -C "$_builddir" || return 1
}
package() {
make DESTDIR="$pkgdir" -C "$_builddir" \
install || return 1
}
md5sums="08bc2552826d907a2206316135568e72 cloc-1.66.tar.gz"
sha256sums="3a8a6d090e6adda9c842583eb49847d6469c65fcf8b2ccefd8e4b18dbb29524e cloc-1.66.tar.gz"
sha512sums="2f0bb2de83c6cd8eee251dbf418002301fdfa76bfda6cfbd0d746d9ea0c9d27cf3ee91110504819c4b85e0ae6c1c496fb125c3ede0d516d452cfea6af46e9473 cloc-1.66.tar.gz"
|