Date: Thursday, January 21, 2016 @ 15:41:05 Author: fyan Revision: 158423
addpkg: hoogle 4.2.43-1 Added: hoogle/ hoogle/repos/ hoogle/trunk/ hoogle/trunk/PKGBUILD ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Added: hoogle/trunk/PKGBUILD =================================================================== --- hoogle/trunk/PKGBUILD (rev 0) +++ hoogle/trunk/PKGBUILD 2016-01-21 14:41:05 UTC (rev 158423) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Felix Yan <[email protected]> +# Contributor: Arch Haskell Team <[email protected]> + +pkgname=hoogle +pkgver=4.2.43 +pkgrel=1 +pkgdesc="Haskell API Search" +url="http://www.haskell.org/hoogle/" +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('gmp' 'libffi') +makedepends=("ghc=7.10.3" "haskell-quickcheck" "haskell-aeson" "haskell-blaze-builder" + "haskell-case-insensitive" "haskell-cmdargs" "haskell-conduit" + "haskell-src-exts" "haskell-http-types" "haskell-old-locale" "haskell-parsec" + "haskell-random" "haskell-resourcet" "haskell-safe" "haskell-shake" + "haskell-tagsoup" "haskell-text" "haskell-uniplate" "haskell-vector" + "haskell-vector-algorithms" "haskell-wai" "haskell-warp") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('eb30df565d363cd5d98821c51b0daf93493dec3bfe95c016922c95a20efa7c17') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" + runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup copy --destdir="${pkgdir}" + install -D -m644 "docs/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -r "$pkgdir"/usr/{lib,share/doc} +} Property changes on: hoogle/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
