[arch-commits] Commit in haskell-resourcet/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Dec 6 12:06:59 UTC 2017


    Date: Wednesday, December 6, 2017 @ 12:06:56
  Author: felixonmars
Revision: 272477

upgpkg: haskell-resourcet 1.1.10-1

rebuild with resourcet,1.1.10

Modified:
  haskell-resourcet/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-06 11:34:15 UTC (rev 272476)
+++ PKGBUILD	2017-12-06 12:06:56 UTC (rev 272477)
@@ -4,24 +4,24 @@
 
 _hkgname=resourcet
 pkgname=haskell-resourcet
-pkgver=1.1.9
-pkgrel=11
+pkgver=1.1.10
+pkgrel=1
 pkgdesc="Deterministic allocation and freeing of scarce resources."
 url="https://github.com/snoyberg/conduit"
 license=("custom:BSD3")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-exceptions" "haskell-lifted-base" "haskell-mmorph"
-         "haskell-monad-control" "haskell-mtl" "haskell-transformers-base"
-         "haskell-transformers-compat")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-exceptions' 'haskell-lifted-base' 'haskell-mmorph'
+         'haskell-monad-control' 'haskell-mtl' 'haskell-transformers-base'
+         'haskell-transformers-compat' 'haskell-unliftio-core')
+makedepends=('ghc' 'haskell-hspec')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('e26e627c19198c1f25e368dda67ca15d52ad41eea70a81acf8ce244b30880b476d3d33b097199d12611bf80a3521196587d669684b18c47999e7abb5c00a7ab9')
+sha512sums=('41d0f3733856b756d4e82ff7682c2d4a0feae4fa6904e5097c69bc0e19e815b64c57d7bb459ef16c13c5e834be666b55f96e5d15cec49073aa1a0e2651f04705')
 
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
-    
+
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
     runhaskell Setup register --gen-script
@@ -30,9 +30,14 @@
     sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
 }
 
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
 package() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
-    
+
     install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     runhaskell Setup copy --destdir="${pkgdir}"



More information about the arch-commits mailing list