1 # Contributor: bocke <bocke@mycity.rs>
2 # Contributor: MIZUNO J.Y. <http://p.mjy.name/>
7 pkgdesc="Generates function prototypes from C source"
9 url="http://invisible-island.net/cproto/cproto.html"
10 license=('custom:public domain')
11 source=('ftp://invisible-island.net/cproto/cproto-4.7j.tgz')
12 md5sums=('5681de39a2761b1519b7eb1d1e6706c2')
15 cd "$srcdir/$pkgname-$pkgver"
16 ./configure --prefix=/usr
18 make DESTDIR="$pkgdir" install
20 # Moving man pages to appropirate location
21 install -d -m755 "$pkgdir/usr/share"
22 mv "${pkgdir}/usr/man" "${pkgdir}/usr/share"
25 install -d -m755 "$pkgdir/usr/share/doc/$pkgname-$pkgver"
26 install -m644 "$srcdir/$pkgname-$pkgver/AUTHORS" \
27 "$pkgdir/usr/share/doc/$pkgname-$pkgver"
28 install -m644 "$srcdir/$pkgname-$pkgver/CHANGES" \
29 "$pkgdir/usr/share/doc/$pkgname-$pkgver"
30 install -m644 "$srcdir/$pkgname-$pkgver/MANIFEST" \
31 "$pkgdir/usr/share/doc/$pkgname-$pkgver"
32 install -m644 "$srcdir/$pkgname-$pkgver/README" \
33 "$pkgdir/usr/share/doc/$pkgname-$pkgver"