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

Felix Yan felixonmars at archlinux.org
Tue Feb 13 18:20:28 UTC 2018


    Date: Tuesday, February 13, 2018 @ 18:20:27
  Author: felixonmars
Revision: 293908

upgpkg: haskell-tasty-hedgehog 0.1.0.2-1

rebuild with tasty-hedgehog,0.1.0.2

Modified:
  haskell-tasty-hedgehog/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-13 18:19:15 UTC (rev 293907)
+++ PKGBUILD	2018-02-13 18:20:27 UTC (rev 293908)
@@ -3,8 +3,8 @@
 
 _hkgname=tasty-hedgehog
 pkgname=haskell-tasty-hedgehog
-pkgver=0.1.0.1
-pkgrel=3
+pkgver=0.1.0.2
+pkgrel=1
 pkgdesc="Integrates the hedgehog testing library with the tasty testing framework"
 url="https://github.com/qfpl/tasty-hedgehog"
 license=('custom:BSD3')
@@ -12,12 +12,8 @@
 depends=('ghc-libs' 'haskell-hedgehog' 'haskell-tagged' 'haskell-tasty')
 makedepends=('ghc' 'haskell-tasty-expected-failure')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('987602120f6ba80f0aff7e2b0d8dc32514859066dc08670f3e30a1d00c052002eb627f83b4926b88cdd5f90e428351729b7d1beaf5c7fdd9edd3699923b10cc0')
+sha512sums=('a6c335fe2f2c57c85425007472ad8ef90e3351ca408ed46e2780b4368ac992f6d38bf1c75706e3e4a6e87b06a40bb17618449b3e70f28ec40b34854673c36355')
 
-prepare() {
-    sed -i 's/, tasty >= 0.11 && < 0.12/, tasty >= 0.11/' $_hkgname-$pkgver/$_hkgname.cabal
-}
-
 build() {
     cd $_hkgname-$pkgver
     
@@ -42,6 +38,6 @@
     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}"
-    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+    install -D -m644 "LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
 }



More information about the arch-commits mailing list