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

Felix Yan felixonmars at archlinux.org
Wed Jan 8 18:22:12 UTC 2020


    Date: Wednesday, January 8, 2020 @ 18:22:11
  Author: felixonmars
Revision: 550376

upgpkg: haskell-csv 0.1.2-15: rebuild with ghc 8.8.1, cabal-doctest 1.0.7

Modified:
  haskell-csv/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-08 18:19:20 UTC (rev 550375)
+++ PKGBUILD	2020-01-08 18:22:11 UTC (rev 550376)
@@ -4,7 +4,7 @@
 _hkgname=csv
 pkgname=haskell-csv
 pkgver=0.1.2
-pkgrel=14
+pkgrel=15
 pkgdesc="CSV loader and dumper"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("MIT")
@@ -14,6 +14,11 @@
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
 sha512sums=('4fed06e71dda2d057cd370d06d0c2ecde5de0676cc8e2be97ca240564405b0714da3cb6040a3437bee38add55f7bde526455e0c187883cb0c323474378030ea9')
 
+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