# $Id: PKGBUILD 102051 2013-12-04 14:18:24Z spupykin $ # Maintainer: Sergej Pupykin pkgname=gtk2hs-buildtools pkgver=0.12.5.1 pkgrel=1 pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries." url="http://hackage.haskell.org/package/gtk2hs-buildtools" license=('GPL2') arch=('i686' 'x86_64') makedepends=('ghc' 'alex' 'happy' 'haskell-random') depends=('gmp') options=('strip') provides=('haskell-gtk2hs-buildtools') source=(http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz) md5sums=('2f8f761559185c7375b0b31354d791c8') build() { cd ${srcdir}/gtk2hs-buildtools-$pkgver runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} runhaskell Setup build } package() { cd ${srcdir}/gtk2hs-buildtools-$pkgver runhaskell Setup copy --destdir=${pkgdir} }