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

Felix Yan felixonmars at archlinux.org
Wed Oct 26 10:24:44 UTC 2016


    Date: Wednesday, October 26, 2016 @ 10:24:43
  Author: felixonmars
Revision: 193588

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 193587, hoogle/trunk/PKGBUILD)
  hoogle/repos/community-staging-x86_64/
  hoogle/repos/community-staging-x86_64/PKGBUILD
    (from rev 193587, hoogle/trunk/PKGBUILD)

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

Copied: hoogle/repos/community-staging-i686/PKGBUILD (from rev 193587, hoogle/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-10-26 10:24:43 UTC (rev 193588)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hoogle
+pkgver=5.0.4
+pkgrel=6
+pkgdesc="Haskell API Search"
+url="http://www.haskell.org/hoogle/"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi' 'zlib')
+makedepends=("ghc=8.0.1" "haskell-quickcheck" "haskell-aeson" "haskell-cmdargs" "haskell-conduit"
+             "haskell-conduit-extra" "haskell-connection" "haskell-extra" "haskell-src-exts"
+             "haskell-http-conduit" "haskell-http-types" "haskell-js-flot" "haskell-js-jquery"
+             "haskell-mmap" "haskell-network" "haskell-network-uri" "haskell-old-locale"
+             "haskell-resourcet" "haskell-tar" "haskell-text" "haskell-uniplate"
+             "haskell-utf8-string" "haskell-vector" "haskell-wai" "haskell-wai-logger"
+             "haskell-warp" "haskell-warp-tls" "haskell-zlib")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('7ae3b649d435afa178241ade97f3eef3d8519ddd86f4a97d23b7aa5a88c9a665')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+        -fnetwork-uri
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -r "$pkgdir"/usr/{lib,share/doc}
+}

Copied: hoogle/repos/community-staging-x86_64/PKGBUILD (from rev 193587, hoogle/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-10-26 10:24:43 UTC (rev 193588)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hoogle
+pkgver=5.0.4
+pkgrel=6
+pkgdesc="Haskell API Search"
+url="http://www.haskell.org/hoogle/"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi' 'zlib')
+makedepends=("ghc=8.0.1" "haskell-quickcheck" "haskell-aeson" "haskell-cmdargs" "haskell-conduit"
+             "haskell-conduit-extra" "haskell-connection" "haskell-extra" "haskell-src-exts"
+             "haskell-http-conduit" "haskell-http-types" "haskell-js-flot" "haskell-js-jquery"
+             "haskell-mmap" "haskell-network" "haskell-network-uri" "haskell-old-locale"
+             "haskell-resourcet" "haskell-tar" "haskell-text" "haskell-uniplate"
+             "haskell-utf8-string" "haskell-vector" "haskell-wai" "haskell-wai-logger"
+             "haskell-warp" "haskell-warp-tls" "haskell-zlib")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('7ae3b649d435afa178241ade97f3eef3d8519ddd86f4a97d23b7aa5a88c9a665')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+        -fnetwork-uri
+    runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -r "$pkgdir"/usr/{lib,share/doc}
+}



More information about the arch-commits mailing list