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

Felix Yan felixonmars at gemini.archlinux.org
Mon Jul 4 23:35:04 UTC 2022


    Date: Monday, July 4, 2022 @ 23:35:04
  Author: felixonmars
Revision: 1244064

upgpkg: arch-hs 0.10.2.0-6: rebuild with algebraic-graphs 0.7

Modified:
  arch-hs/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-04 23:31:57 UTC (rev 1244063)
+++ PKGBUILD	2022-07-04 23:35:04 UTC (rev 1244064)
@@ -3,7 +3,7 @@
 
 pkgname=arch-hs
 pkgver=0.10.2.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Distribute hackage packages to archlinux"
 arch=('x86_64')
 url="https://github.com/berberman/arch-hs"
@@ -14,7 +14,7 @@
          'haskell-microlens-th' 'haskell-neat-interpolation' 'haskell-optparse-simple'
          'haskell-polysemy' 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal'
          'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
 sha512sums=('abfdbbeeba3c7d03e403f48047d9a8ac4342d95b8037b15eee1670be7f66b75caf91b346f6fe86228b5217b4ac470e969f3364c195ccd818784017495f6416d2')
 
@@ -30,6 +30,11 @@
   install -D -m644 fish${1} "$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
 }
 
+prepare() {
+  cd $pkgname-$pkgver
+  uusi -u algebraic-graphs $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