aboutsummaryrefslogtreecommitdiffstats
path: root/community/cloc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cloc/APKBUILD')
-rw-r--r--community/cloc/APKBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/community/cloc/APKBUILD b/community/cloc/APKBUILD
index 7249c2afdd..fc9de9afaf 100644
--- a/community/cloc/APKBUILD
+++ b/community/cloc/APKBUILD
@@ -2,17 +2,17 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=cloc
pkgver=1.76
-pkgrel=0
+pkgrel=1
pkgdesc="Count lines of code"
url="https://github.com/AlDanial/cloc"
arch="noarch"
license="GPL-2.0"
-depends="perl perl-algorithm-diff perl-regexp-common"
+depends="perl perl-algorithm-diff perl-regexp-common
+ perl-parallel-forkmanager"
makedepends=""
subpackages="$pkgname-doc"
source="https://github.com/AlDanial/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
- disable-01_opts.patch
- disable-test-perl.patch"
+ disable-01_opts.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
@@ -20,10 +20,7 @@ build() {
}
check() {
- # test-perl requires perl-parallel-forkmanager which is
- # currently in testing. Therefore we only run a subset of the
- # testsuite for now.
- make -B -C "$builddir"/Unix test-pod test-code
+ make -C "$builddir"/Unix test
}
package() {
@@ -36,5 +33,4 @@ package() {
}
sha512sums="3f16f084be1828557e4120a8e41b276336ac240c5de4dc765066277d848ce9af20f31b36ec4beb863066d8b3e9287ea0e0b2a8f1abd15532957f53d2d3935ecd cloc-1.76.tar.gz
-10039c23d06f16f3c44427ee0f0e5d16dd05d2c5364145f57c1e5de94227387907f9ecebe7d42fc976599a8c1814e51d5f0a4eddef154222c5138cbcce777c4a disable-01_opts.patch
-db35af1184fbf03ba4089ae5e9fbfc868b82a0487ee1bf0a284e40faba356e91bcb725c682cbf52c8f76ed1d6883f9ce86200bb65cf8175f9630ebe1492c890e disable-test-perl.patch"
+10039c23d06f16f3c44427ee0f0e5d16dd05d2c5364145f57c1e5de94227387907f9ecebe7d42fc976599a8c1814e51d5f0a4eddef154222c5138cbcce777c4a disable-01_opts.patch"