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

Felix Yan felixonmars at archlinux.org
Mon Jul 9 05:10:27 UTC 2018


    Date: Monday, July 9, 2018 @ 05:10:27
  Author: felixonmars
Revision: 355649

upgpkg: haskell-foundation 0.0.21-1

rebuild with basement 0.0.8, foundation 0.0.21

Modified:
  haskell-foundation/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-09 05:05:13 UTC (rev 355648)
+++ PKGBUILD	2018-07-09 05:10:27 UTC (rev 355649)
@@ -4,8 +4,8 @@
 
 _hkgname=foundation
 pkgname=haskell-foundation
-pkgver=0.0.20
-pkgrel=17
+pkgver=0.0.21
+pkgrel=1
 pkgdesc="Alternative prelude with batteries and no dependencies"
 url="https://github.com/haskell-foundation/foundation"
 license=('custom:BSD3')
@@ -13,8 +13,13 @@
 depends=('ghc-libs' 'haskell-basement')
 makedepends=('ghc' 'haskell-doctest')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('283a0e2ce0165d531d17f0c0f14e72b843c67a809d5c7bde4280b23103b30d919c5ddf0cd09918129171ea79d34ad83abfcd3aac9e24d9803595d08cea6aba22')
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
 build() {
     cd $_hkgname-$pkgver
     



More information about the arch-commits mailing list