Date: Sunday, July 10, 2022 @ 23:41:08 Author: felixonmars Revision: 1249391
upgpkg: haskell-jose 0.8.5.1-1: rebuild with jose 0.8.5.1 Modified: haskell-jose/trunk/PKGBUILD ----------+ PKGBUILD | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-10 22:42:00 UTC (rev 1249390) +++ PKGBUILD 2022-07-10 23:41:08 UTC (rev 1249391) @@ -3,25 +3,26 @@ _hkgname=jose pkgname=haskell-jose -pkgver=0.8.5 -pkgrel=90 -pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library" +pkgver=0.8.5.1 +pkgrel=1 +pkgdesc="Javascript Object Signing and Encryption (JOSE) and JSON Web Token (JWT) library" url="https://github.com/frasertweedale/hs-jose" license=("Apache") arch=('x86_64') -depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 'haskell-concise' - 'haskell-cryptonite' 'haskell-lens' 'haskell-memory' 'haskell-monad-time' - 'haskell-safe' 'haskell-aeson' 'haskell-unordered-containers' 'haskell-network-uri' - 'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-x509' 'haskell-vector') -makedepends=('ghc') +depends=('ghc-libs' 'haskell-quickcheck' 'haskell-aeson' 'haskell-attoparsec' + 'haskell-base64-bytestring' 'haskell-concise' 'haskell-cryptonite' 'haskell-lens' + 'haskell-memory' 'haskell-monad-time' 'haskell-network-uri' 'haskell-quickcheck-instances' + 'haskell-safe' 'haskell-unordered-containers' 'haskell-vector' 'haskell-x509' ) +makedepends=('ghc' 'haskell-hspec' 'haskell-pem' 'haskell-tasty' 'haskell-tasty-hspec' + 'haskell-tasty-quickcheck') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('2a2f58375869963ca0e4c2075392f9124f6ba6eadf9cb4721e83d13107bd71e5344f7e05f84326fec84a9154e7cb7288703a73c536efd8962172e087383a0c83') +sha512sums=('ecba9c8eb03f9dfff34dcab4720ec1c0285c24dccb5d220e0e76c1e57c758aaa6af2b3e56dbac0057185a9f23407386ea6b298bbb03c04afb5aa302db58b5741') 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 runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script @@ -30,6 +31,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
