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

Evangelos Foutras foutrelis at archlinux.org
Thu Sep 10 20:12:12 UTC 2015


    Date: Thursday, September 10, 2015 @ 22:12:12
  Author: foutrelis
Revision: 245756

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

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

-------------------------+
 staging-i686/PKGBUILD   |   47 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   47 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

Copied: cabal-install/repos/staging-i686/PKGBUILD (from rev 245755, cabal-install/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-10 20:12:12 UTC (rev 245756)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic <gostrc at gmail.com>
+# Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=cabal-install
+pkgver=1.22.2.0
+pkgrel=2
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="http://hackage.haskell.org/package/cabal-install"
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+makedepends=('ghc' 'cabal-install')
+depends=('gmp' 'zlib')
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('bad431378bec8a0005fb1a3f5a92cd1b')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching & headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+    ${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+    ${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+    ${pkgdir}/usr/share/bash-completion/completions
+}

Copied: cabal-install/repos/staging-x86_64/PKGBUILD (from rev 245755, cabal-install/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-10 20:12:12 UTC (rev 245756)
@@ -0,0 +1,47 @@
+# Maintainer: Thomas Dziedzic <gostrc at gmail.com>
+# Maintainer: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=cabal-install
+pkgver=1.22.2.0
+pkgrel=2
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="http://hackage.haskell.org/package/cabal-install"
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+makedepends=('ghc' 'cabal-install')
+depends=('gmp' 'zlib')
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('bad431378bec8a0005fb1a3f5a92cd1b')
+
+# the bootstrap script was broken on several releases
+# build with a cabal sandbox to avoid unnecessary patching & headaches
+build() {
+  cd cabal-install-${pkgver}
+
+  cabal update
+
+  cabal sandbox init
+
+  cabal install --only-dependencies
+
+  cabal build
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -d ${pkgdir}/usr/bin
+  install -m755 dist/build/cabal/cabal \
+    ${pkgdir}/usr/bin
+
+
+  install -d ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 LICENSE \
+    ${pkgdir}/usr/share/licenses/${pkgname}
+
+  # add bash completion
+  install -d ${pkgdir}/usr/share/bash-completion/completions
+  install -m644 bash-completion/cabal \
+    ${pkgdir}/usr/share/bash-completion/completions
+}



More information about the arch-commits mailing list