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

Felix Yan felixonmars at archlinux.org
Sun Jun 20 22:25:38 UTC 2021


    Date: Sunday, June 20, 2021 @ 22:25:38
  Author: felixonmars
Revision: 966109

upgpkg: haskell-assoc 1.0.2-86: rebuild with ghc 9.0.1, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-assoc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-20 22:22:28 UTC (rev 966108)
+++ PKGBUILD	2021-06-20 22:25:38 UTC (rev 966109)
@@ -3,19 +3,20 @@
 _hkgname=assoc
 pkgname=haskell-assoc
 pkgver=1.0.2
-pkgrel=85
+pkgrel=86
 pkgdesc="swap and assoc: Symmetric and Semigroupy Bifunctors"
 url="https://github.com/phadej/assoc"
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-bifunctors' 'haskell-tagged')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('20fd0056dcc2dff9504e090be5c2ef27692a795133620e60b9382cfdfbaf26d1019617acf48f0f762e22d699068bc4dbd35a714177ce3a36761c0065708b9168')
 
 prepare() {
     cd $_hkgname-$pkgver
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+    gen-setup
+    uusi -u base $_hkgname.cabal
 }
 
 build() {



More information about the arch-commits mailing list