summaryrefslogtreecommitdiff
path: root/community/sloccount
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/sloccount
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/sloccount')
-rw-r--r--community/sloccount/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
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 <rodseth@gmail.com>
+# Contributor: Chris Brannon <cmbrannon79@gmail.com>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Christof Musik <christof@senfdax.de>
+
+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: