[arch-commits] Commit in cabal-install/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Wed Oct 26 07:22:07 UTC 2016
Date: Wednesday, October 26, 2016 @ 07:22:06
Author: felixonmars
Revision: 193458
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 193457, cabal-install/trunk/PKGBUILD)
cabal-install/repos/community-staging-x86_64/
cabal-install/repos/community-staging-x86_64/PKGBUILD
(from rev 193457, cabal-install/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: cabal-install/repos/community-staging-i686/PKGBUILD (from rev 193457, cabal-install/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-10-26 07:22:06 UTC (rev 193458)
@@ -0,0 +1,39 @@
+# $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.24.0.0
+pkgrel=3
+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=8.0.1" "haskell-async" "haskell-base16-bytestring"
+ "haskell-cryptohash-sha256" "haskell-hackage-security" "haskell-hashable"
+ "haskell-http" "haskell-mtl" "haskell-network" "haskell-network-uri"
+ "haskell-random" "haskell-stm" "haskell-tar" "haskell-zlib")
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('beb998cdc385523935620381abe393f4')
+
+build() {
+ cd "${srcdir}/$pkgname-$pkgver"
+
+ runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ -fnetwork-uri -f-old-directory -f-old-bytestring
+ 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 193457, cabal-install/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-10-26 07:22:06 UTC (rev 193458)
@@ -0,0 +1,39 @@
+# $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.24.0.0
+pkgrel=3
+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=8.0.1" "haskell-async" "haskell-base16-bytestring"
+ "haskell-cryptohash-sha256" "haskell-hackage-security" "haskell-hashable"
+ "haskell-http" "haskell-mtl" "haskell-network" "haskell-network-uri"
+ "haskell-random" "haskell-stm" "haskell-tar" "haskell-zlib")
+source=("https://hackage.haskell.org/package/cabal-install-${pkgver}/cabal-install-${pkgver}.tar.gz")
+md5sums=('beb998cdc385523935620381abe393f4')
+
+build() {
+ cd "${srcdir}/$pkgname-$pkgver"
+
+ runhaskell Setup configure -O --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ -fnetwork-uri -f-old-directory -f-old-bytestring
+ 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