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

Felix Yan felixonmars at archlinux.org
Sun May 20 15:43:07 UTC 2018


    Date: Sunday, May 20, 2018 @ 15:43:06
  Author: felixonmars
Revision: 325413

upgpkg: haskell-monadplus 1.4.2-7

Modified:
  haskell-monadplus/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-20 15:37:51 UTC (rev 325412)
+++ PKGBUILD	2018-05-20 15:43:06 UTC (rev 325413)
@@ -5,7 +5,7 @@
 _hkgname=monadplus
 pkgname=haskell-monadplus
 pkgver=1.4.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Haskell98 partial maps and filters over MonadPlus."
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:BSD3")
@@ -12,9 +12,16 @@
 arch=('x86_64')
 depends=('ghc-libs')
 makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('839a35b3de1226e177c07e30b86e841ddd19075d3ce29fa7154fefb371d9bef8aa85847d7c139faad93713d5b7889979498097f69c6e3bccfcee2fbbf7bf6539')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
+        https://github.com/asr/monadplus/commit/c4231e1423e5c81f2779acf4462eea8872f6a4e6.patch)
+sha512sums=('839a35b3de1226e177c07e30b86e841ddd19075d3ce29fa7154fefb371d9bef8aa85847d7c139faad93713d5b7889979498097f69c6e3bccfcee2fbbf7bf6539'
+            'a3cd839c84c6c1c6ce827f75b3e98159da998d9693044e9af0ef50f3aac8c0e30b0c32305c09a3df881c826bc39f8a8e5839238c3f55df35d32f6edcc6d07d96')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    patch -p1 -i ../c4231e1423e5c81f2779acf4462eea8872f6a4e6.patch
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
     



More information about the arch-commits mailing list