PKGBUILDs/community/sloccount/PKGBUILD
2009-10-09 21:15:33 -05:00

20 lines
575 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Christof Musik <christof@senfdax.de>
pkgname=sloccount
pkgver=2.26
pkgrel=4
pkgdesc="Tools for counting physical source lines of code"
url="http://www.dwheeler.com/sloccount/"
license=('GPL')
depends=('perl')
arch=('i686' 'x86_64')
source=(http://www.dwheeler.com/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('09abd6e2a016ebaf7552068a1dba1249')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
mkdir -p ${pkgdir}/usr/bin
make PREFIX=${pkgdir}/usr install
}