Date: Thursday, March 2, 2023 @ 22:55:15 Author: felixonmars Revision: 1408026
upgpkg: haskell-data-array-byte 0.1.0.1-8: rebuild with tagged 0.8.7 (rebuild pass 1, specified --nocheck) Modified: haskell-data-array-byte/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-02 22:37:42 UTC (rev 1408025) +++ PKGBUILD 2023-03-02 22:55:15 UTC (rev 1408026) @@ -3,13 +3,14 @@ _hkgname=data-array-byte pkgname=haskell-data-array-byte pkgver=0.1.0.1 -pkgrel=7 +pkgrel=8 pkgdesc="Compatibility layer for Data.Array.Byte" url="https://github.com/Bodigrim/data-array-byte" license=("BSD") arch=('x86_64') depends=('ghc-libs') -makedepends=('ghc' 'uusi' 'haskell-quickcheck-classes-base' 'haskell-tasty' 'haskell-tasty-quickcheck') +makedepends=('ghc' 'uusi') +checkdepends=('haskell-quickcheck-classes-base' 'haskell-tasty' 'haskell-tasty-quickcheck') source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") sha256sums=('1bb6eca0b3e02d057fe7f4e14c81ef395216f421ab30fdaa1b18017c9c025600') @@ -21,8 +22,14 @@ 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 --datasubdir=haskell-data-array-byte --enable-tests \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname "${_opts[@]}" \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ --ghc-option='-pie'