# $Id: PKGBUILD 55492 2011-09-13 05:23:39Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jared Casper <jaredcasper@gmail.com>
# Contributor: Georgij Kondratjev <smpuj@bk.ru>

pkgname=gnucap
pkgver=20091207
_pkgver=2009-12-07
pkgrel=2
pkgdesc="GNU Circuit Analysis Package"
arch=('i686' 'x86_64')
url="http://gnucap.org/"
license=('GPL')
depends=('gcc-libs' 'readline')
source=(http://gnucap.org/devel/$pkgname-$_pkgver.tar.gz)
sha1sums=('a64be626b3e971437d677f14bc72eda0df6e7e3a')

build() {
  cd "$srcdir/$pkgname-$_pkgver"

  ./configure --prefix=/usr
}

package() {
  cd "$srcdir/$pkgname-$_pkgver"

  make
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: