summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJia Li2016-07-13 16:50:12 -0400
committerJia Li2016-07-13 16:50:12 -0400
commit182a13409f2bf0d9c3e6097b01208fc8a7eca142 (patch)
tree2aafbbd27faf00c660a47d75328eb8e58fbc2e38
parentb2ab5be2ba7c003557d94f49406c8323258628d4 (diff)
downloadaur-182a13409f2bf0d9c3e6097b01208fc8a7eca142.tar.gz
set to Release build
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 883f0cd3746..f857043272b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,19 +14,19 @@ source=("https://github.com/ALPSCore/ALPSCore/archive/v$pkgver.tar.gz")
md5sums=('b887c9328e2a22afa123663cf888b768')
build() {
- cd "ALPSCore-$pkgver"
+ cd "ALPSCore-$pkgver"
mkdir -p build
cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DDocumentation=OFF ..
- make
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DDocumentation=OFF ..
+ make
}
check() {
- cd "ALPSCore-$pkgver/build"
- make test
+ cd "ALPSCore-$pkgver/build"
+ make test
}
package() {
- cd "ALPSCore-$pkgver/build"
- make DESTDIR="$pkgdir/" install
+ cd "ALPSCore-$pkgver/build"
+ make DESTDIR="$pkgdir/" install
}