# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=rpc2
pkgver=2.8
pkgrel=1
pkgdesc="Remote procedure call package for IP/UDP"
arch=(i686 x86_64)
url="http://www.coda.cs.cmu.edu"
options=('!libtool')
license=("LGPL")
depends=('lwp' 'readline')
source=(http://www.coda.cs.cmu.edu/pub/rpc2/src/rpc2-$pkgver.tar.gz)
md5sums=('3b604987df24d9632c7a82fbcb400dd9')

build() {
  cd $startdir/src/rpc2-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}