From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/sloccount/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 community/sloccount/PKGBUILD (limited to 'community/sloccount') diff --git a/community/sloccount/PKGBUILD b/community/sloccount/PKGBUILD new file mode 100644 index 000000000..268e4d74b --- /dev/null +++ b/community/sloccount/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: PKGBUILD 17768 2010-05-25 12:20:54Z cbrannon $ +# Maintainer: Chris Brannon +# Contributor: Allan McRae +# Contributor: Christof Musik + +pkgname=sloccount +pkgver=2.26 +pkgrel=5 +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}" + install -dm755 "${pkgdir}/usr/bin" || return 1 + make PREFIX="${pkgdir}/usr" install || return 1 + mv "${pkgdir}/usr/share/doc/sloccount-2.26-1" "${pkgdir}/usr/share/doc/sloccount" || return 1 + chmod 644 "$pkgdir/usr/share/doc/sloccount/"* +} -- cgit v1.2.3-54-g00ecf