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

Felix Yan felixonmars at archlinux.org
Tue Feb 23 20:15:04 UTC 2021


    Date: Tuesday, February 23, 2021 @ 20:15:04
  Author: felixonmars
Revision: 870679

upgpkg: haskell-dec 0.0.4-1: rebuild with dec 0.0.4

Modified:
  haskell-dec/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-23 20:13:00 UTC (rev 870678)
+++ PKGBUILD	2021-02-23 20:15:04 UTC (rev 870679)
@@ -2,22 +2,20 @@
 
 _hkgname=dec
 pkgname=haskell-dec
-pkgver=0.0.3
-pkgrel=72
+pkgver=0.0.4
+pkgrel=1
 pkgdesc="Decidable propositions"
 url="https://github.com/phadej/dec"
 license=('BSD')
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-void')
-makedepends=('ghc')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('446911a59287b48d8b98acf588671e6ed19fc12ed8adeabdab8f21c1fefb80cac7b59b9fea52a4671b997aa63d2eadda5181490e6901e99e9882de572abdc595')
+sha512sums=('e43497edb8fdadbc16da77b06fe5cf75ea609de9d38402b277953e1f82ec3d80da65d223c1ca1780a53b36c0257c613377ca4b7f7b80fc1893c12a2a69fb6800')
 
 prepare() {
     cd $_hkgname-$pkgver
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-
-    sed -i 's/< *4.13/<5/' $_hkgname.cabal
+    gen-setup
 }
 
 build() {



More information about the arch-commits mailing list