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

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


    Date: Sunday, June 20, 2021 @ 22:38:10
  Author: felixonmars
Revision: 966113

upgpkg: haskell-these 1.1.1.1-87: rebuild with ghc 9.0.1, one-liner 2.0, retrie 1.0.0.0

Modified:
  haskell-these/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-20 22:35:09 UTC (rev 966112)
+++ PKGBUILD	2021-06-20 22:38:10 UTC (rev 966113)
@@ -3,19 +3,20 @@
 _hkgname=these
 pkgname=haskell-these
 pkgver=1.1.1.1
-pkgrel=86
+pkgrel=87
 pkgdesc="An either-or-both data type"
 url="https://github.com/isomorphism/these"
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-assoc' 'haskell-hashable')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('23246164648bf4cb028719e7cb2e5f450ab55558af9e1dc7f0ddec323ca4ce124afbfd3bf367446c2d69ec91abe42daf77e11a26a13f2898275dafbc095637d5')
 
 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