Date: Monday, March 30, 2015 @ 15:30:22
  Author: spupykin
Revision: 130295

Modified:
  haskell-gtk/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-03-30 13:30:07 UTC (rev 130294)
+++ PKGBUILD    2015-03-30 13:30:22 UTC (rev 130295)
@@ -3,7 +3,7 @@
 
 pkgname=haskell-gtk
 pkgver=0.13.4
-pkgrel=2
+pkgrel=3
 pkgdesc="Binding to the gtk library for Gtk2Hs."
 url="http://hackage.haskell.org/package/gtk";
 license=('LGPL2.1')
@@ -18,6 +18,11 @@
 
source=(http://hackage.haskell.org/packages/archive/gtk/$pkgver/gtk-$pkgver.tar.gz)
 md5sums=('5c6716be7e4d98899e6288ae280b3678')
 
+prepare() {
+  cd ${srcdir}/gtk-${pkgver}
+  sed -i 's|die |System.Exit.die |' SetupWrapper.hs
+}
+
 build() {
   cd ${srcdir}/gtk-${pkgver}
   runhaskell Setup configure -O -p --enable-split-objs --enable-shared \

Reply via email to