blob: ee50e725339478966c180a3c22d59ff69f9dfc96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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=('i686' 'x86_64' 'mips64el')
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:
|