[arch-commits] Commit in haskell-js-jquery/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Feb 17 09:04:49 UTC 2020
Date: Monday, February 17, 2020 @ 09:04:48
Author: felixonmars
Revision: 573872
upgpkg: haskell-js-jquery 3.3.1-340: rebuild pass 1, specified --nocheck
Modified:
haskell-js-jquery/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-17 08:54:20 UTC (rev 573871)
+++ PKGBUILD 2020-02-17 09:04:48 UTC (rev 573872)
@@ -4,7 +4,7 @@
_hkgname=js-jquery
pkgname=haskell-js-jquery
pkgver=3.3.1
-pkgrel=339
+pkgrel=340
pkgdesc="Obtain minified jQuery code"
url="https://github.com/ndmitchell/js-jquery#readme"
license=("MIT")
@@ -16,9 +16,15 @@
build() {
cd $_hkgname-$pkgver
-
+
+ if (( CHECKFUNC )); then
+ _opts=('--enable-tests')
+ else
+ _opts=('--disable-tests')
+ fi
+
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" --enable-tests \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" "${_opts[@]}" \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup register --gen-script
More information about the arch-commits
mailing list