Package Details: haskell-openglraw 3.2.7.0-1

Git Clone URL: https://aur.archlinux.org/haskell-openglraw.git (read-only, click to copy)
Package Base: haskell-openglraw
Description: A raw binding for the OpenGL graphics system
Upstream URL: http://hackage.haskell.org/package/
Licenses: custom:BSD3
Submitter: None
Maintainer: None
Last Packager: unit73e
Votes: 8
Popularity: 0.000000
First Submitted: 2009-06-29 00:30 (UTC)
Last Updated: 2017-12-27 14:09 (UTC)

Latest Comments

unit73e commented on 2017-10-19 22:08 (UTC)

Please apply the following patch since the package is not compiling. Notes: - I had to remove the '--enable-split-objs' option. I'm not sure why the package does not compile with that option. - I don't know what the 'gen_contents_index' is but it doesn't exist so I removed it. diff --git a/PKGBUILD b/PKGBUILD index f5b41d9..eb17e35 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ _hspkgname=OpenGLRaw pkgname=haskell-openglraw -pkgver=3.2.4.0 +pkgver=3.2.5.0 pkgrel=1 pkgdesc="A raw binding for the OpenGL graphics system" url="http://hackage.haskell.org/package/${_hspkgname}" @@ -19,16 +19,18 @@ depends=('ghc' options=('strip') source=(http://hackage.haskell.org/packages/archive/${_hspkgname}/${pkgver}/${_hspkgname}-${pkgver}.tar.gz) install=${pkgname}.install -md5sums=('54553e989777d336c9ae97a45d273701') +md5sums=('255af040cc464ad45e01260fc61f390b') build() { cd "${srcdir}"/${_hspkgname}-${pkgver} - runhaskell Setup configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-p } --enable-split-objs --enable-shared \ + runhaskell Setup configure -O ${PKGBUILD_HASKELL_ENABLE_PROFILING:+-p } \ + --enable-shared --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/${pkgname} --libsubdir=\$compiler/site-local/\$pkgid runhaskell Setup build runhaskell Setup haddock runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } package() { diff --git a/haskell-openglraw.install b/haskell-openglraw.install index 1ee90cb..3ddfe6b 100644 --- a/haskell-openglraw.install +++ b/haskell-openglraw.install @@ -1,18 +1,13 @@ HS_DIR=usr/share/haskell/haskell-openglraw post_install() { ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } pre_upgrade() { ${HS_DIR}/unregister.sh } post_upgrade() { ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) } pre_remove() { ${HS_DIR}/unregister.sh } -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -}