summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0277c5a21a9b6a5a8701eee355627575ec30cb78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: Kaspar Bumke <kaspar.bumke@gmail.com>

pkgname=easy_spice
pkgver=0.6.8
pkgrel=5
arch=('i686' 'x86_64')
pkgdesc="Electronic circuit simulator. SPICE frontend, using gschem for schematics and ngspice as simulator"
url="http://easy-spice.sourceforge.net/"
license=("GPL")
depends=('geda-gaf' 'gtk2' 'ngspice' 'xterm')
source=(http://downloads.sourceforge.net/sourceforge/easy-spice/$pkgname-$pkgver.tar.gz)
md5sums=('6ffaab8c2dcdfc30ecdca52f3c8bcded')

build() {
  cd $pkgname-$pkgver
  LIBS="$LIBS /lib/libm.so.6" LDFLAGS="$LDFLAGS -lm" ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}