[arch-commits] Commit in haskell-type-errors-pretty/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jun 22 01:43:54 UTC 2021


    Date: Tuesday, June 22, 2021 @ 01:43:53
  Author: felixonmars
Revision: 966695

upgpkg: haskell-type-errors-pretty 0.0.1.1-76: rebuild with ghc 9.0.1, ghc-lib-parser-ex 9.0.0.4, hlint 3.3.1, one-liner 2.0, path 0.9.0, retrie 1.0.0.0

Modified:
  haskell-type-errors-pretty/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-22 01:19:26 UTC (rev 966694)
+++ PKGBUILD	2021-06-22 01:43:53 UTC (rev 966695)
@@ -3,20 +3,20 @@
 _hkgname=type-errors-pretty
 pkgname=haskell-type-errors-pretty
 pkgver=0.0.1.1
-pkgrel=75
+pkgrel=76
 pkgdesc="Combinators for writing pretty type errors easily"
 url="https://github.com/chshersh/type-errors-pretty"
 license=('MPL2')
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc' 'haskell-doctest' 'haskell-glob')
+makedepends=('ghc' 'uusi' 'haskell-doctest' 'haskell-glob')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('7370343188979427d9433b5c0e2f1a39acb243f8177a7e217d7d1c88006bfaf3ca0001381c7ee8c0938b933cb479d720ce0397623194f2514b6149f8ed49932e')
 
 prepare() {
     cd $_hkgname-$pkgver
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-    sed -i 's/\^>= *0.16/>= 0.16/' $_hkgname.cabal
+    gen-setup
+    uusi -u base -u doctest $_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list