aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/cloc/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/cloc/APKBUILD b/testing/cloc/APKBUILD
index 8cb80f1d59..1a8c49754b 100644
--- a/testing/cloc/APKBUILD
+++ b/testing/cloc/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=cloc
-pkgver=1.66
+pkgver=1.68
pkgrel=0
pkgdesc="Count lines of code"
url="https://github.com/AlDanial/cloc"
@@ -12,18 +12,18 @@ depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
-source="https://github.com/AlDanial/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/AlDanial/cloc/archive/v$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver/Unix
+builddir="$srcdir"/$pkgname-$pkgver/Unix
build () {
- make -C "$_builddir" || return 1
+ make -C "$builddir" || return 1
}
package() {
- make DESTDIR="$pkgdir" -C "$_builddir" \
+ 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"
+md5sums="e712de603acaf4ca0984906972a07c1d cloc-1.68.tar.gz"
+sha256sums="869c778659d5cd0dc7a3db1888de1bff8b844762ea06bc88b8e314ab2d171526 cloc-1.68.tar.gz"
+sha512sums="e70bc11725702d2a359f4053265d5c2b5469291b195973bb173bc1f5054840567652620f5c5d6a512f39a0a920222072b04b374080a7eee95676621c972c2460 cloc-1.68.tar.gz"