Date: Friday, June 23, 2017 @ 10:45:15
  Author: felixonmars
Revision: 240273

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 240272, cabal-install/trunk/PKGBUILD)
  cabal-install/repos/community-staging-x86_64/
  cabal-install/repos/community-staging-x86_64/PKGBUILD
    (from rev 240272, cabal-install/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: cabal-install/repos/community-staging-i686/PKGBUILD (from rev 240272, 
cabal-install/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2017-06-23 10:45:15 UTC (rev 240273)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Thomas Dziedzic <[email protected]>
+# Contributor: Vesa Kaihlavirta <[email protected]>
+# Contributor: Arch Haskell Team <[email protected]>
+
+pkgname=cabal-install
+pkgver=1.24.0.2
+pkgrel=2
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="https://hackage.haskell.org/package/cabal-install";
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc' "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=('2577c3d7712a74614bf7cc63a5341cab')
+
+build() {
+  cd "${srcdir}/$pkgname-$pkgver"
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--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 240272, 
cabal-install/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-23 10:45:15 UTC (rev 240273)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Thomas Dziedzic <[email protected]>
+# Contributor: Vesa Kaihlavirta <[email protected]>
+# Contributor: Arch Haskell Team <[email protected]>
+
+pkgname=cabal-install
+pkgver=1.24.0.2
+pkgrel=2
+pkgdesc="The command-line interface for Cabal and Hackage."
+url="https://hackage.haskell.org/package/cabal-install";
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc' "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=('2577c3d7712a74614bf7cc63a5341cab')
+
+build() {
+  cd "${srcdir}/$pkgname-$pkgver"
+
+  runhaskell Setup configure -O --prefix=/usr --enable-executable-dynamic 
--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"
+}

Reply via email to