From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/sloccount/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 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..0961f63bc --- /dev/null +++ b/community/sloccount/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 89970 2013-05-06 12:16:25Z arodseth $ +# Maintainer: Alexander Rødseth +# Contributor: Chris Brannon +# Contributor: Allan McRae +# Contributor: Christof Musik + +pkgname=sloccount +pkgver=2.26 +pkgrel=7 +pkgdesc='Tools for counting physical source lines of code' +url='http://www.dwheeler.com/sloccount/' +license=('GPL') +depends=('perl') +arch=('x86_64' 'i686') +source=("http://www.dwheeler.com/$pkgname/$pkgname-$pkgver.tar.gz") +sha256sums=('fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b') + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -dm755 "$pkgdir/usr/bin" + make PREFIX="$pkgdir/usr" install + mv "$pkgdir/usr/share/doc/sloccount-2.26-1" "$pkgdir/usr/share/doc/sloccount" + chmod 644 "$pkgdir/usr/share/doc/sloccount/"* +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf