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

Felix Yan fyan at archlinux.org
Sat May 21 03:55:52 UTC 2016


    Date: Saturday, May 21, 2016 @ 05:55:51
  Author: fyan
Revision: 175976

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

Added:
  cabal-install/repos/community-staging-i686/
  cabal-install/repos/community-staging-i686/PKGBUILD
    (from rev 175975, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/community-staging-x86_64/
  cabal-install/repos/community-staging-x86_64/PKGBUILD
    (from rev 175975, cabal-install/trunk/PKGBUILD)

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

Copied: cabal-install/repos/community-staging-i686/PKGBUILD (from rev 175975, cabal-install/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-21 03:55:51 UTC (rev 175976)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=cabal-install
+pkgver=1.22.9.0
+pkgrel=4
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="http://hackage.haskell.org/package/cabal-install"
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('gmp' 'zlib' 'libffi')
+makedepends=("ghc=7.10.3" "haskell-http" "haskell-mtl" "haskell-network" "haskell-network-uri"
+             "haskell-random" "haskell-stm" "haskell-zlib")
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('460995d67a9dc65f04bd2a68eaccf6a5')
+
+build() {
+  cd "${srcdir}/$pkgname-$pkgver"
+
+  runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+    -fnetwork-uri -f-old-directory
+  runhaskell Setup build
+}
+
+package() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  runhaskell Setup copy --destdir="${pkgdir}"
+
+  install -Dm644 LICENSE \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  install -Dm644 bash-completion/cabal \
+    "${pkgdir}/usr/share/bash-completion/completions/cabal"
+}

Copied: cabal-install/repos/community-staging-x86_64/PKGBUILD (from rev 175975, cabal-install/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-21 03:55:51 UTC (rev 175976)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=cabal-install
+pkgver=1.22.9.0
+pkgrel=4
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="http://hackage.haskell.org/package/cabal-install"
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('gmp' 'zlib' 'libffi')
+makedepends=("ghc=7.10.3" "haskell-http" "haskell-mtl" "haskell-network" "haskell-network-uri"
+             "haskell-random" "haskell-stm" "haskell-zlib")
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('460995d67a9dc65f04bd2a68eaccf6a5')
+
+build() {
+  cd "${srcdir}/$pkgname-$pkgver"
+
+  runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+    -fnetwork-uri -f-old-directory
+  runhaskell Setup build
+}
+
+package() {
+  cd "${srcdir}/$pkgname-$pkgver"
+  runhaskell Setup copy --destdir="${pkgdir}"
+
+  install -Dm644 LICENSE \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+  install -Dm644 bash-completion/cabal \
+    "${pkgdir}/usr/share/bash-completion/completions/cabal"
+}



More information about the arch-commits mailing list