Add cloc package

This commit is contained in:
baruch
2016-01-26 17:37:11 +02:00
parent f2c8e781f0
commit 0c702f7f9e
3 changed files with 44 additions and 6 deletions

View File

@@ -0,0 +1,25 @@
# Contributer: Baruch Burstein <bmburstein at gmail dot com>
_realname=Algorithm-Diff
pkgname=perl-${_realname}
pkgver=1.1903
pkgrel=1
pkgdesc="Compute 'intelligent' differences between two files / lists"
arch=('any')
url="http://search.cpan.org/~tyemq/${_realname}-${pkgver}"
groups=('perl-modules')
depends=('perl')
license=('GPL' 'PerlArtistic')
source=("http://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/${_realname}-${pkgver}.tar.gz")
md5sums=('0e8add21a641b8d66436df0c2024bf3b')
build() {
cd ${_realname}-${pkgver}
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd ${_realname}-${pkgver}
make install DESTDIR="$pkgdir"
}