summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 066453ba157e90ed6c851a25a8fde56e07f442af (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
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Lex Black <autumn-wind at web dot de>

_pkgname=eispice
pkgname=python2-eispice-git
pkgver=0.11.6.1.8.g44c0d09
pkgrel=2
pkgdesc="Clone of Berkley SPICE 3 Simulation Engine. Git version"
url="http://www.thedigitalmachine.net/eispice.html"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('gcc-fortran' 'git')
depends=('python2-numpy' 'python2-scipy')
conflicts=('eispice' 'python2-eispice')
provides=('python2-eispice')
options=('!buildflags')
source=("git+https://github.com/Narrat/eispice#branch=master")
md5sums=('SKIP')


pkgver() {
	cd $_pkgname
	git describe | sed 's/^v//;s/-/./g'
}

build() {
    cd $srcdir/${_pkgname}

    make
}

package() {
	cd $srcdir/${_pkgname}

	#python2 setup.py install --root=${pkgdir}
	make DESTDIR="$pkgdir/" install
}