[arch-commits] Commit in hoogle/repos (4 files)

Felix Yan fyan at archlinux.org
Sat May 7 14:36:13 UTC 2016


    Date: Saturday, May 7, 2016 @ 16:36:12
  Author: fyan
Revision: 174119

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  hoogle/repos/community-staging-i686/
  hoogle/repos/community-staging-i686/PKGBUILD
    (from rev 174118, hoogle/trunk/PKGBUILD)
  hoogle/repos/community-staging-x86_64/
  hoogle/repos/community-staging-x86_64/PKGBUILD
    (from rev 174118, hoogle/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: hoogle/repos/community-staging-i686/PKGBUILD (from rev 174118, hoogle/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-07 14:36:12 UTC (rev 174119)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hoogle
+pkgver=4.2.43
+pkgrel=31
+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}
+}

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 174118, hoogle/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-07 14:36:12 UTC (rev 174119)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hoogle
+pkgver=4.2.43
+pkgrel=31
+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}
+}



More information about the arch-commits mailing list