Date: Tuesday, August 8, 2017 @ 17:30:46
  Author: felixonmars
Revision: 249599

upgpkg: haskell-protolude 0.2-1

rebuild with protolude,0.2

Modified:
  haskell-protolude/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-08 17:17:30 UTC (rev 249598)
+++ PKGBUILD    2017-08-08 17:30:46 UTC (rev 249599)
@@ -4,16 +4,21 @@
 
 _hkgname=protolude
 pkgname=haskell-protolude
-pkgver=0.1.10
-pkgrel=10
+pkgver=0.2
+pkgrel=1
 pkgdesc="A sensible set of defaults for writing custom Preludes."
 url="https://github.com/sdiehl/protolude";
 license=("MIT")
 arch=('i686' 'x86_64')
-depends=('ghc' "haskell-async" "haskell-mtl" "haskell-safe" "haskell-stm" 
"haskell-text")
+depends=('ghc' "haskell-async" "haskell-hashable" "haskell-mtl" "haskell-safe" 
"haskell-stm"
+         "haskell-text")
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha256sums=('163296a518f0d7329dcdf040bf0eddb1fb804eee198405801fab8f192ce1c7a5')
+sha512sums=('94cb85b1d4540dc834018e1bc6816e505d9c445e4df4d48db1cc11b75eeda65fb67cf5ae8e0194c3cdeaa1c470c621ba0449fa7960237a12c3faeb8d77e45d33')
 
+prepare() {
+    sed -i 's/mtl-compat.*/mtl/' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 

Reply via email to