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

Thomas Dziedzic tdziedzic at archlinux.org
Mon Jun 11 17:22:08 UTC 2012


    Date: Monday, June 11, 2012 @ 13:22:08
  Author: tdziedzic
Revision: 161440

db-move: moved cabal-install from [staging] to [testing] ( i686,  x86_64)

Added:
  cabal-install/repos/testing-i686/
  cabal-install/repos/testing-i686/PKGBUILD
    (from rev 161439, cabal-install/repos/staging-i686/PKGBUILD)
  cabal-install/repos/testing-x86_64/
  cabal-install/repos/testing-x86_64/PKGBUILD
    (from rev 161439, cabal-install/repos/staging-x86_64/PKGBUILD)
Deleted:
  cabal-install/repos/staging-i686/
  cabal-install/repos/staging-x86_64/

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

Copied: cabal-install/repos/testing-i686/PKGBUILD (from rev 161439, cabal-install/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-06-11 17:22:08 UTC (rev 161440)
@@ -0,0 +1,36 @@
+# 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=0.14.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=('haskell-http=4000.2.3-1' 'haskell-zlib=0.5.3.3-4' 'haskell-mtl=2.1.1-1' 'haskell-network=2.3.0.14-1' 'haskell-random=1.0.1.1-2')
+depends=('ghc' 'gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/$pkgver/cabal-install-$pkgver.tar.gz)
+md5sums=('638514bd1a5792d75866481852148ae5')
+
+build() {
+    cd cabal-install-${pkgver}
+    runhaskell Setup configure --enable-shared --enable-split-objs --enable-executable-stripping --prefix=/usr
+    runhaskell Setup build
+}
+
+package() {
+    cd cabal-install-${pkgver}
+    runhaskell Setup copy --destdir=$pkgdir
+
+    # rm license installed to wrong location
+    rm -rf ${pkgdir}/usr/share/doc
+
+    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 161439, cabal-install/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-06-11 17:22:08 UTC (rev 161440)
@@ -0,0 +1,36 @@
+# 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=0.14.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=('haskell-http=4000.2.3-1' 'haskell-zlib=0.5.3.3-4' 'haskell-mtl=2.1.1-1' 'haskell-network=2.3.0.14-1' 'haskell-random=1.0.1.1-2')
+depends=('ghc' 'gmp' 'zlib')
+source=(http://hackage.haskell.org/packages/archive/cabal-install/$pkgver/cabal-install-$pkgver.tar.gz)
+md5sums=('638514bd1a5792d75866481852148ae5')
+
+build() {
+    cd cabal-install-${pkgver}
+    runhaskell Setup configure --enable-shared --enable-split-objs --enable-executable-stripping --prefix=/usr
+    runhaskell Setup build
+}
+
+package() {
+    cd cabal-install-${pkgver}
+    runhaskell Setup copy --destdir=$pkgdir
+
+    # rm license installed to wrong location
+    rm -rf ${pkgdir}/usr/share/doc
+
+    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