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

Felix Yan felixonmars at archlinux.org
Wed Dec 16 11:24:05 UTC 2020


    Date: Wednesday, December 16, 2020 @ 11:24:05
  Author: felixonmars
Revision: 776644

upgpkg: arch-hs 0.5.0.0-10: rebuild with megaparsec 9.0.0, hspec-megaparsec 2.2.0

Modified:
  arch-hs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-16 10:52:49 UTC (rev 776643)
+++ PKGBUILD	2020-12-16 11:24:05 UTC (rev 776644)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.5.0.0
-pkgrel=9
+pkgrel=10
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs"
@@ -12,7 +12,7 @@
          'haskell-algebraic-graphs' 'haskell-conduit' 'haskell-tar-conduit' 'haskell-conduit-extra'
          'haskell-split' 'haskell-neat-interpolation' 'haskell-microlens' 'haskell-microlens-th'
          'haskell-polysemy' 'haskell-colourista' 'haskell-optparse-applicative')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
 sha512sums=('870e7438b37397880334b638671b0bef58ec9254938e71a0972aa54a49bca16f666c498ecce26066c75dbde2dd509a120023b338b03aa0136c12204823390dc7')
 
@@ -28,6 +28,10 @@
   install -D -m644 bash${1} "$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
 }
 
+prepare() {
+  uusi -u megaparsec $pkgname-$pkgver/$pkgname.cabal
+}
+
 build() {
   cd $pkgname-$pkgver
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \



More information about the arch-commits mailing list