Date: Monday, December 26, 2022 @ 22:17:54 Author: felixonmars Revision: 1368605
upgpkg: haskell-juicypixels 3.3.8-1: rebuild with JuicyPixels 3.3.8 Modified: haskell-juicypixels/trunk/PKGBUILD ----------+ PKGBUILD | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-12-26 22:17:07 UTC (rev 1368604) +++ PKGBUILD 2022-12-26 22:17:54 UTC (rev 1368605) @@ -3,27 +3,22 @@ _hkgname=JuicyPixels pkgname=haskell-juicypixels -pkgver=3.3.7 -pkgrel=40 +pkgver=3.3.8 +pkgrel=1 pkgdesc="Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)" url="https://github.com/Twinside/Juicy.Pixels" license=("BSD") arch=('x86_64') -depends=('ghc-libs' "haskell-primitive" "haskell-vector" "haskell-zlib") -makedepends=('ghc' 'uusi') +depends=('ghc-libs' 'haskell-primitive' 'haskell-vector' 'haskell-zlib') +makedepends=('ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('adb3ccae12524ddb6f2736d65d14d997e1d672960b2fcc02739742fe18d748497324c9aeecb0b0b5e7662b218c5db55b2e8f5639e6438e0b8a45960c9c0e7da1') +sha512sums=('28af970743efc2b8b579bc78142192bee31ddba37fb4deaff72f598bea8324b5eebbd711d6d4d581e8180138bc2df121dc6944de16cad074fc1e0b5d67905166') -prepare() { - cd $_hkgname-$pkgver - uusi -u vector $_hkgname.cabal -} - build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \ + --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \ -f-mmap runhaskell Setup build $MAKEFLAGS @@ -33,6 +28,11 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + package() { cd $_hkgname-$pkgver
