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

Vesa Kaihlavirta vesa at nymeria.archlinux.org
Sat Feb 15 16:08:35 UTC 2014


    Date: Saturday, February 15, 2014 @ 17:08:34
  Author: vesa
Revision: 206013

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

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

-------------------------+
 testing-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: cabal-install/repos/testing-i686/PKGBUILD (from rev 206012, cabal-install/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-02-15 16:08:34 UTC (rev 206013)
@@ -0,0 +1,34 @@
+# 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.18.0.2
+pkgrel=1
+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=('ghc' 'gmp' 'zlib')
+makedepends=('ghc')
+depends=('gmp' 'zlib')
+source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('e7e46406d43539616388aeafa01c689d')
+
+build() {
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -D -m755 /build/.cabal/bin/cabal $pkgdir/usr/bin/cabal
+  install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+    
+  # 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/testing-x86_64/PKGBUILD (from rev 206012, cabal-install/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-02-15 16:08:34 UTC (rev 206013)
@@ -0,0 +1,34 @@
+# 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.18.0.2
+pkgrel=1
+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=('ghc' 'gmp' 'zlib')
+makedepends=('ghc')
+depends=('gmp' 'zlib')
+source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('e7e46406d43539616388aeafa01c689d')
+
+build() {
+  cd cabal-install-${pkgver}
+
+  sh bootstrap.sh --user
+}
+
+package() {
+  cd cabal-install-${pkgver}
+
+  install -D -m755 /build/.cabal/bin/cabal $pkgdir/usr/bin/cabal
+  install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+    
+  # 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