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

Felix Yan felixonmars at archlinux.org
Wed Mar 17 18:30:11 UTC 2021


    Date: Wednesday, March 17, 2021 @ 18:30:11
  Author: felixonmars
Revision: 894152

upgpkg: haskell-tree-diff 0.2-1: rebuild with tree-diff 0.2

Modified:
  haskell-tree-diff/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-17 18:23:07 UTC (rev 894151)
+++ PKGBUILD	2021-03-17 18:30:11 UTC (rev 894152)
@@ -2,25 +2,26 @@
 
 _hkgname=tree-diff
 pkgname=haskell-tree-diff
-pkgver=0.1
-pkgrel=214
+pkgver=0.2
+pkgrel=1
 pkgdesc="Diffing of (expression) trees"
 url="https://github.com/phadej/tree-diff"
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-wl-pprint' 'haskell-ansi-terminal'
-         'haskell-base-compat' 'haskell-hashable' 'haskell-parsers' 'haskell-quickcheck'
-         'haskell-scientific' 'haskell-tagged' 'haskell-unordered-containers' 'haskell-uuid-types'
+         'haskell-base-compat' 'haskell-hashable' 'haskell-parsers' 'haskell-primitive'
+         'haskell-quickcheck' 'haskell-scientific' 'haskell-semialign' 'haskell-strict'
+         'haskell-tagged' 'haskell-these' 'haskell-unordered-containers' 'haskell-uuid-types'
          'haskell-vector')
-makedepends=('ghc' 'haskell-trifecta' 'haskell-tasty' 'haskell-tasty-golden'
+makedepends=('ghc' 'uusi' 'haskell-trifecta' 'haskell-tasty' 'haskell-tasty-golden'
              'haskell-tasty-quickcheck')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('a4ee703e4b6a18055c7749020863a9571af4620dbb7ea05903693c752e10e3ffa4fee8da0dacc0e4bbf92173e34c9070251881597ca1cd9f7c8ed365e840563c')
+sha512sums=('e5e745e9c1481033579fd8bffc5f35a92dbb2d973a329d635b6c2b9d6a3e66f3dc11c6ea3b8ca21f2d41ac6b91255af825c287d59f1c40e44e9fe3e1dddf06e1')
 
 prepare() {
     cd $_hkgname-$pkgver
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-    sed -i -e 's/\^>=.*//' -e 's/&&.*//' -e '/bytestring-builder/d' $_hkgname.cabal
+    gen-setup
+    uusi -d bytestring-builder -u tasty $_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list