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

Felix Yan felixonmars at archlinux.org
Thu Jun 17 21:19:02 UTC 2021


    Date: Thursday, June 17, 2021 @ 21:19:01
  Author: felixonmars
Revision: 964759

upgpkg: haskell-sop-core 0.5.0.1-8: rebuild with ghc 9.0.1

Modified:
  haskell-sop-core/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-17 20:54:25 UTC (rev 964758)
+++ PKGBUILD	2021-06-17 21:19:01 UTC (rev 964759)
@@ -3,19 +3,20 @@
 _hkgname=sop-core
 pkgname=haskell-sop-core
 pkgver=0.5.0.1
-pkgrel=7
+pkgrel=8
 pkgdesc="True Sums of Products"
 url="https://github.com/well-typed/generics-sop"
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('2866e7c1a29a5585dabdbd6399e5df4003f21dd94d7b9a1b93681c53e1106af528cfd24dab0b918b36d73d0b05db6525201ea3213ab90575c242557ac41d80bd')
 
 prepare() {
     cd $_hkgname-$pkgver
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+    uusi -u base $_hkgname.cabal
+    gen-setup
 }
 
 build() {



More information about the arch-commits mailing list