summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoan Bruguera2019-03-21 21:32:24 +0100
committerJoan Bruguera2019-03-21 21:32:24 +0100
commitd60c21151b5d2a423b7f70daae013f7c64197211 (patch)
tree68fecbf9903b37826d8b13c4e948ea56089c1069
parentcd4044d03066a60c41b3fb2994b2b011e38c01fa (diff)
downloadaur-d60c21151b5d2a423b7f70daae013f7c64197211.tar.gz
Build as static libraries, because folding wants so.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2122f05f52ec..af6fcd78bc92 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libbsctools
pkgdesc = Common library used by some BSC tools such as folding (from BSC).
pkgver = 1.0.5
- pkgrel = 1
+ pkgrel = 2
url = https://www.bsc.es/discover-bsc/organisation/scientific-structure/performance-tools
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 286db7998df2..feaccaee4b16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname='libbsctools'
pkgdesc='Common library used by some BSC tools such as folding (from BSC).'
pkgver='1.0.5'
-pkgrel='1'
+pkgrel='2'
arch=('i686' 'x86_64')
url='https://www.bsc.es/discover-bsc/organisation/scientific-structure/performance-tools'
license=('LGPLv2.1')
@@ -14,7 +14,8 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
- --prefix=/usr
+ --prefix=/usr \
+ --enable-static --disable-shared
make
}
@@ -23,5 +24,5 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
# NB: using DESTDIR instead, does not work, also often fails with parallel install
- make prefix="$pkgdir/usr/" install -j1
+ make prefix="$pkgdir/usr/" install -j1
} \ No newline at end of file