diff options
author | Will Handley | 2017-10-24 14:26:45 +0100 |
---|---|---|
committer | Will Handley | 2017-10-24 14:26:45 +0100 |
commit | 8806435ff1ca08edc43d79c4831d462a4b82229c (patch) | |
tree | 3045548991cb862ca321757a284ce5e117d03fc2 | |
parent | d1135c188d883511685049e1ad017fea30f0a6f5 (diff) | |
download | aur-8806435ff1ca08edc43d79c4831d462a4b82229c.tar.gz |
Reorganised check functions
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 12 insertions, 7 deletions
@@ -1,7 +1,9 @@ +# Generated by mksrcinfo v8 +# Tue Oct 24 13:26:45 UTC 2017 pkgbase = lalstochastic pkgdesc = The LIGO Scientific Consortium Algorithm Library Suite. lalstochastic pkgver = 1.1.20 - pkgrel = 4 + pkgrel = 6 url = https://wiki.ligo.org/DASWG/LALSuiteInstall arch = any groups = lalsuite @@ -2,7 +2,7 @@ pkgname=lalstochastic _pkgname=${pkgname} pkgver=1.1.20 -pkgrel=4 +pkgrel=6 pkgdesc="The LIGO Scientific Consortium Algorithm Library Suite. ${_pkgname}" arch=(any) url="https://wiki.ligo.org/DASWG/LALSuiteInstall" @@ -18,17 +18,20 @@ options=(!emptydirs) install= source=("http://software.ligo.org/lscsoft/source/lalsuite/${_pkgname}-${pkgver}.tar.xz") sha256sums=('e384f21f788c8c0521e3f9d50cc40e9e7d333f63cebbdac73b206658c45ffffe') -build() { +prepare() { cd "$srcdir/${_pkgname}-${pkgver}" sed -i 's/\-Werror//g' configure +} +build() { + cd "$srcdir/${_pkgname}-${pkgver}" ./configure --prefix=$pkgdir/usr CFLAGS=-O3 make -j } +check() { + cd "$srcdir/${_pkgname}-${pkgver}" + make -j check +} package() { cd "$srcdir/${_pkgname}-${pkgver}" make install } -#check() { -# cd "$srcdir/${_pkgname}-${pkgver}" -# make -j check -#} |