summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMcNoggins2016-01-18 18:25:29 -0500
committerMcNoggins2016-01-18 18:25:29 -0500
commit4f44d48f1323a569d00eb75c80025079b6f40299 (patch)
treebf62d009430a5810e943a7b445addd848075bbb1
parent085cdc1704898fbbc0f77e28d40078d693077a42 (diff)
downloadaur-4f44d48f1323a569d00eb75c80025079b6f40299.tar.gz
Added shared library support
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 259f78a3ee8..ea02222401c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Mon Jan 18 23:25:05 UTC 2016
pkgbase = mpb
pkgdesc = A program for computing the band structures and electromagnetic modes
pkgver = 1.5
- pkgrel = 1
+ pkgrel = 2
url = http://ab-initio.mit.edu/wiki/index.php/MIT_Photonic_Bands
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index c0cbb300be7..39d9dad35ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=mpb
pkgver=1.5
-pkgrel=1
+pkgrel=2
pkgdesc="A program for computing the band structures and electromagnetic modes"
arch=('i686' 'x86_64')
url="http://ab-initio.mit.edu/wiki/index.php/MIT_Photonic_Bands"
@@ -29,6 +29,7 @@ build() {
F77="gfortran" \
CPPFLAGS="-DH5_USE_16_API=1" \
--prefix=/usr \
+ --enable-shared \
--mandir=/usr/share/man
make
@@ -38,6 +39,7 @@ build() {
F77="gfortran" \
CPPFLAGS="-DH5_USE_16_API=1" \
--prefix=/usr \
+ --enable-shared \
--with-inv-symmetry \
--mandir=/usr/share/man
make
@@ -48,6 +50,7 @@ build() {
F77="gfortran" \
CPPFLAGS="-DH5_USE_16_API=1" \
--prefix=/usr \
+ --enable-shared \
--with-mpi \
--mandir=/usr/share/man
make
@@ -58,6 +61,7 @@ build() {
F77="gfortran" \
CPPFLAGS="-DH5_USE_16_API=1" \
--prefix=/usr \
+ --enable-shared \
--with-inv-symmetry \
--with-mpi \
--mandir=/usr/share/man