Commit 35f62ed4 authored by Sören Tempel's avatar Sören Tempel

community/cloc: moved from testing/

parent cab4a2f6
......@@ -2,17 +2,17 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=cloc
pkgver=1.70
pkgrel=0
pkgrel=1
pkgdesc="Count lines of code"
url="https://github.com/AlDanial/cloc"
arch="noarch"
license="GPL"
license="GPL2"
depends="perl perl-algorithm-diff perl-regexp-common"
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/AlDanial/cloc/archive/v$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/AlDanial/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver/Unix
build () {
......@@ -20,8 +20,12 @@ build () {
}
package() {
make DESTDIR="$pkgdir" -C "$builddir" \
install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -Dm644 NEWS README AUTHORS \
"$pkgdir"/usr/share/doc/$pkgname/ || return 1
}
md5sums="74e159c9957a6fba3e93b1501008f0fa cloc-1.70.tar.gz"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment