1 # Contributor: Johannes Dewender arch at JonnyJD dot net
5 pkgdesc="C and C++ Code Counter, code metrics also for Ada and Java files"
7 url="http://cccc.sourceforge.net/"
9 source=(http://downloads.sourceforge.net/sourceforge/cccc/$pkgname-$pkgver.tar.gz)
10 md5sums=('7bd3ad868913a0beab2fde931737f928')
13 cd "$srcdir/$pkgname-$pkgver"
14 sed -e 's/su root -c "make -f install.mak"/make -f install.mak/' \
15 -i makefile || return 1
16 sed -e 's:/usr/local/bin:'$pkgdir'/usr/bin:' \
17 -e 's/\$(MKDIR)/\$(MKDIR) -p/' -i install/install.mak || return 1
19 make DESTDIR="$pkgdir/" install
22 # vim:set ts=2 sw=2 et: