updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / c_count / PKGBUILD
blob6ad8d3e7eaf2b9ec6c1e545893ae3e7e5e4b50dd
1 # Maintainer: Bert Muennich <ber.t at gmx.com>
3 pkgname=c_count
4 pkgver=7.12
5 pkgrel=1
6 pkgdesc="Counts lines, statements, other simple measures of C/C++ source programs."
7 arch=('i686' 'x86_64')
8 url="http://invisible-island.net/c_count/"
9 license=('custom')
10 depends=()
11 conflicts=('sloccount')
12 source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz)
13 md5sums=('09dca0f2fc524faa1f0a4573a982f703')
15 build() {
16   cd "${srcdir}/${pkgname}-${pkgver}"
17   ./configure --prefix=/usr --mandir=/usr/share/man
18   make
21 package() {
22   cd "${srcdir}/${pkgname}-${pkgver}"
23   make DESTDIR="${pkgdir}" install
24   install -D -m 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"