summaryrefslogtreecommitdiff
path: root/user/cloc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 22:11:16 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-08 22:11:16 +0000
commit43b362a34677898baa14d2c17e184bee43a0a66d (patch)
tree1a429faf1bc3f4052ef71e076708765ed2a86250 /user/cloc
parent70a61c71d34433ae379367b6f6365d7ec7988d27 (diff)
downloadpackages-43b362a34677898baa14d2c17e184bee43a0a66d.tar.gz
packages-43b362a34677898baa14d2c17e184bee43a0a66d.tar.bz2
packages-43b362a34677898baa14d2c17e184bee43a0a66d.tar.xz
packages-43b362a34677898baa14d2c17e184bee43a0a66d.zip
user/*: Modernise / fix syntax / deps / metadata
Diffstat (limited to 'user/cloc')
-rw-r--r--user/cloc/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/user/cloc/APKBUILD b/user/cloc/APKBUILD
index 4b12785f8..c05fdc470 100644
--- a/user/cloc/APKBUILD
+++ b/user/cloc/APKBUILD
@@ -9,22 +9,20 @@ 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() {
- cd Unix
- make DESTDIR="$pkgdir" doc
+ make DESTDIR="$pkgdir" -C Unix doc
}
check() {
- cd Unix
- make DESTDIR="$pkgdir" test-perl
+ make DESTDIR="$pkgdir" -C Unix test-perl
}
package() {
- cd Unix
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" -C Unix install
}
sha512sums="cfcc1854d7f3257bcd66f13b1053a856ae31acc35f94537e20cbb341ab256390bded1f00ff6b1ce2bc60a1a69379b6915d398297e2f878bc4eea190c59b22669 cloc-1.84.tar.gz"