
Untitled
By: a guest on
May 29th, 2010 | syntax:
Bash | size: 0.72 KB | hits: 104 | expires: Never
# Contributor: MIZUNO J.Y. <http://p.mjy.name/>
pkgname=cproto
pkgver=4.7h
pkgrel=1
pkgdesc='A program that generates function prototypes and variable declarations from C source code'
arch=('i686' 'x86_64')
url='http://sourceforge.net/projects/cproto/'
license=('custom')
source=("http://invisible-island.net/datafiles/release/cproto.tar.gz")
noextract=()
md5sums=('8fd0ff4aa00b5c2730ade74b617b2e0f')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure "--prefix=$pkgdir/usr" "--mandir=$pkgdir/usr/share/man" || return 1
make || return 1
make install || return 1
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -m ugo+r README "$pkgdir/usr/share/licenses/$pkgname/"
}
# vim:set ts=2 sw=2 et: