summaryrefslogtreecommitdiff
path: root/community/haskell-gtk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-07 00:02:03 +0000
committerroot <root@rshg054.dnsready.net>2012-07-07 00:02:03 +0000
commitb7c6c9c7844914d1d0617a24b9e3a84d691d1f64 (patch)
treee83e42e7aa3b5f01bbd1a22f539aa807e586e04b /community/haskell-gtk
parentce1cc063cc56f59a630e758c92a9f8ac67a24c32 (diff)
Sat Jul 7 00:02:03 UTC 2012
Diffstat (limited to 'community/haskell-gtk')
-rw-r--r--community/haskell-gtk/PKGBUILD21
1 files changed, 5 insertions, 16 deletions
diff --git a/community/haskell-gtk/PKGBUILD b/community/haskell-gtk/PKGBUILD
index 9b1e2ba62..064702b29 100644
--- a/community/haskell-gtk/PKGBUILD
+++ b/community/haskell-gtk/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 72389 2012-06-13 13:46:24Z tdziedzic $
+# $Id: PKGBUILD 73280 2012-07-05 11:48:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=haskell-gtk
-pkgver=0.12.3
-pkgrel=2
+pkgver=0.12.3.1
+pkgrel=1
pkgdesc="Binding to the gtk library for Gtk2Hs."
url="http://hackage.haskell.org/package/gtk"
license=('LGPL2.1')
@@ -15,19 +15,11 @@ replaces=('gtk2hs-gtk')
conflicts=('gtk2hs-gtk')
options=('strip')
install=gtk2hs-gtk.install
-source=(http://hackage.haskell.org/packages/archive/gtk/$pkgver/gtk-$pkgver.tar.gz
- 'gtk-gthread.h-include.patch')
-md5sums=('65a65b5cc1e1db0fbf722779a7044ded'
- '5277990f8ca28d2b12e77dac97c10354')
+source=(http://hackage.haskell.org/packages/archive/gtk/$pkgver/gtk-$pkgver.tar.gz)
+md5sums=('b10dfe92d2e4dfe3c0c92dd349489727')
build() {
cd ${srcdir}/gtk-${pkgver}
-
- # fix compile error with latest glib2 >= 2.32
- # http://hackage.haskell.org/trac/gtk2hs/ticket/1253
- # got the patch from fedora
- patch -Np1 -i ${srcdir}/gtk-gthread.h-include.patch
-
runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
--prefix=/usr --docdir=/usr/share/doc/haskell-gtk \
--libsubdir=\$compiler/site-local/\$pkgid
@@ -39,9 +31,6 @@ build() {
}
package() {
- #_ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-`
- #depends=("ghc=${_ghcver}" 'gtk2' "haskell-pango=$pkgver" 'haskell-mtl=2.0.1.0')
-
cd ${srcdir}/gtk-${pkgver}
install -D -m744 register.sh ${pkgdir}/usr/share/haskell/gtk2hs-gtk/register.sh
install -m744 unregister.sh ${pkgdir}/usr/share/haskell/gtk2hs-gtk/unregister.sh