diff options
author | Jean-Luc Tambasco | 2018-09-25 03:36:42 +1000 |
---|---|---|
committer | Jean-Luc Tambasco | 2018-09-25 03:38:05 +1000 |
commit | d90e5dd69aa82d49703a6d3f8a7574dd7ef2447e (patch) | |
tree | 3bb6abfffc74546f6c411c1384aa0211c35d9405 | |
parent | 88ccb960327482348c12144b9754c1344529e812 (diff) | |
download | aur-d90e5dd69aa82d49703a6d3f8a7574dd7ef2447e.tar.gz |
Switched S4 repositories to the official one.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 11 insertions, 13 deletions
@@ -1,7 +1,8 @@ pkgbase = s4-git pkgdesc = S4 (or simply S4) stands for Stanford Stratified Structure Solver, a frequency domain code to solve the linear Maxwell’s equations in layered periodic structures. - pkgver = r187.1a5bd64 + pkgver = r206.7fd00a2 pkgrel = 1 + url = https://web.stanford.edu/group/fan/S4/# arch = i686 arch = x86_64 license = GPL @@ -11,7 +12,7 @@ pkgbase = s4-git depends = fftw depends = suitesparse depends = openmpi - source = S4::git+https://github.com/kwrobert/S4#branch=master + source = S4::git+https://github.com/victorliu/S4#branch=master md5sums = SKIP pkgname = s4-git @@ -1,11 +1,11 @@ # Maintainer: Jean-Luc Tambasco <an.obscurity@gmail.com> _srcname=S4 pkgname=s4-git -pkgver=r187.1a5bd64 +pkgver=r206.7fd00a2 pkgrel=1 pkgdesc="S4 (or simply S4) stands for Stanford Stratified Structure Solver, a frequency domain code to solve the linear Maxwell’s equations in layered periodic structures." arch=('i686' 'x86_64') -url="" +url="https://web.stanford.edu/group/fan/S4/#" license=('GPL') groups=() depends=('lua>=5.2.0' 'python3' 'openblas' 'fftw' 'suitesparse' 'openmpi') @@ -18,7 +18,7 @@ backup=() options=() install= changelog= -source=('S4::git+https://github.com/kwrobert/S4#branch=master') +source=('S4::git+https://github.com/victorliu/S4#branch=master') noextract=() md5sums=(SKIP) @@ -29,19 +29,16 @@ pkgver() { build() { cd "$srcdir/$_srcname" - - sed -i '/pip3/d' ./Makefile - - make clean make - make S4_pyext - python setup.py build } package() { cd "$srcdir/$_srcname" - install -Dm644 "build/libS4.a" "$pkgdir/usr/lib/libS4.a" + install -d "$pkgdir/usr/lib" + install -d "$pkgdir/usr/bin" - python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build + install -Dm644 build/*.so "$pkgdir/usr/lib" + install -Dm644 build/*.a "$pkgdir/usr/lib" + install -Dm755 build/S4 "$pkgdir/usr/bin" } |