diff options
author | root <root@rshg054.dnsready.net> | 2013-05-07 00:36:35 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-07 00:36:35 -0700 |
commit | da0a0d88caa1bf934ebf314ef86e15928dbb027b (patch) | |
tree | b7c57ac9667de10c72390e0d81654fffbe47c42d /community/sloccount | |
parent | ffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff) |
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'community/sloccount')
-rw-r--r-- | community/sloccount/PKGBUILD | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/community/sloccount/PKGBUILD b/community/sloccount/PKGBUILD index 912c14250..0961f63bc 100644 --- a/community/sloccount/PKGBUILD +++ b/community/sloccount/PKGBUILD @@ -1,23 +1,27 @@ -# $Id: PKGBUILD 65665 2012-02-21 20:27:37Z cbrannon $ -# Maintainer: Chris Brannon <cmbrannon79@gmail.com> +# $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=6 -pkgdesc="Tools for counting physical source lines of code" -url="http://www.dwheeler.com/sloccount/" +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') -source=(http://www.dwheeler.com/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('09abd6e2a016ebaf7552068a1dba1249') +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" + 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: |