[arch-commits] Commit in cabal-install/repos (4 files)
Thomas Dziedzic
td123 at nymeria.archlinux.org
Wed Apr 9 04:37:41 UTC 2014
Date: Wednesday, April 9, 2014 @ 06:37:41
Author: td123
Revision: 209926
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
cabal-install/repos/staging-i686/
cabal-install/repos/staging-i686/PKGBUILD
(from rev 209925, cabal-install/trunk/PKGBUILD)
cabal-install/repos/staging-x86_64/
cabal-install/repos/staging-x86_64/PKGBUILD
(from rev 209925, cabal-install/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Copied: cabal-install/repos/staging-i686/PKGBUILD (from rev 209925, cabal-install/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2014-04-09 04:37:41 UTC (rev 209926)
@@ -0,0 +1,33 @@
+# 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.3
+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')
+makedepends=('ghc')
+depends=('gmp' 'zlib')
+source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('f7823387c21b4969e64238f63bb25740')
+
+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/staging-x86_64/PKGBUILD (from rev 209925, cabal-install/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-04-09 04:37:41 UTC (rev 209926)
@@ -0,0 +1,33 @@
+# 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.3
+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')
+makedepends=('ghc')
+depends=('gmp' 'zlib')
+source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('f7823387c21b4969e64238f63bb25740')
+
+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