diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ngspice/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ngspice/PKGBUILD')
-rw-r--r-- | community/ngspice/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/ngspice/PKGBUILD b/community/ngspice/PKGBUILD new file mode 100644 index 000000000..06a9eacd0 --- /dev/null +++ b/community/ngspice/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 39270 2011-02-07 23:09:46Z bisson $ +# Maintainer: Abhishek Dasgupta <abhidg@gmail.com> +# Contributor: Jason Taylor <jftaylor21@gmail.com> + +pkgname=ngspice +pkgver=22 +pkgrel=1 +pkgdesc='Mixed-level/Mixed-signal circuit simulator based on Spice3f5, Ciber1b1, and Xspice.' +url='http://ngspice.sourceforge.net' +license=('BSD') +arch=('i686' 'x86_64') +depends=('libxaw' 'libedit') +source=("http://downloads.sourceforge.net/$pkgname/$pkgver/ngspice-$pkgver.tar.gz") +sha1sums=('abb232613fb4859f17bcdefeef869e702bd3f0dc') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-xspice \ + --with-editline=yes + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install + install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |