Date: Wednesday, March 23, 2016 @ 11:17:44
  Author: fyan
Revision: 168058

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  idris/repos/community-staging-i686/
  idris/repos/community-staging-i686/PKGBUILD
    (from rev 168057, idris/trunk/PKGBUILD)
  idris/repos/community-staging-x86_64/
  idris/repos/community-staging-x86_64/PKGBUILD
    (from rev 168057, idris/trunk/PKGBUILD)

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

Copied: idris/repos/community-staging-i686/PKGBUILD (from rev 168057, 
idris/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2016-03-23 10:17:44 UTC (rev 168058)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=idris
+pkgver=0.10.3
+pkgrel=4
+pkgdesc="Functional Programming Language with Dependent Types"
+url="http://www.idris-lang.org/";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi' 'zlib' 'gcc')
+makedepends=("ghc=7.10.3" "haskell-annotated-wl-pprint" 
"haskell-ansi-terminal" "haskell-ansi-wl-pprint"
+             "haskell-async" "haskell-base64-bytestring" "haskell-blaze-html" 
"haskell-blaze-markup"
+             "haskell-cheapskate" "haskell-fingertree" "haskell-fsnotify" 
"haskell-mtl" "haskell-libffi"
+             "haskell-network" "haskell-optparse-applicative" 
"haskell-parsers" "haskell-safe"
+             "haskell-split" "haskell-terminal-size" "haskell-text" 
"haskell-transformers-compat"
+             "haskell-trifecta" "haskell-uniplate" 
"haskell-unordered-containers" "haskell-utf8-string"
+             "haskell-vector" "haskell-vector-binary-instances" 
"haskell-zip-archive")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('63fd7bade38873e3c9933fa883bacdedffc73c5fec5a6e79a981ccf7ae990e85')
+
+prepare() {
+    sed -i 's/zip-archive > 0.2.3.5 && < 0.2.4/zip-archive > 0.2.3.5 \&\& < 
0.4/' ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+        --libsubdir=\$compiler/site-local/\$pkgid \
+            -fFFI -fGMP
+    LC_CTYPE=en_US.UTF-8 runhaskell Setup build
+    LC_CTYPE=en_US.UTF-8 runhaskell Setup haddock --hoogle --html
+    runhaskell Setup register --gen-script
+    runhaskell Setup unregister --gen-script
+    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/{lib,share/doc}
+}

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 168057, 
idris/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-23 10:17:44 UTC (rev 168058)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=idris
+pkgver=0.10.3
+pkgrel=4
+pkgdesc="Functional Programming Language with Dependent Types"
+url="http://www.idris-lang.org/";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi' 'zlib' 'gcc')
+makedepends=("ghc=7.10.3" "haskell-annotated-wl-pprint" 
"haskell-ansi-terminal" "haskell-ansi-wl-pprint"
+             "haskell-async" "haskell-base64-bytestring" "haskell-blaze-html" 
"haskell-blaze-markup"
+             "haskell-cheapskate" "haskell-fingertree" "haskell-fsnotify" 
"haskell-mtl" "haskell-libffi"
+             "haskell-network" "haskell-optparse-applicative" 
"haskell-parsers" "haskell-safe"
+             "haskell-split" "haskell-terminal-size" "haskell-text" 
"haskell-transformers-compat"
+             "haskell-trifecta" "haskell-uniplate" 
"haskell-unordered-containers" "haskell-utf8-string"
+             "haskell-vector" "haskell-vector-binary-instances" 
"haskell-zip-archive")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('63fd7bade38873e3c9933fa883bacdedffc73c5fec5a6e79a981ccf7ae990e85')
+
+prepare() {
+    sed -i 's/zip-archive > 0.2.3.5 && < 0.2.4/zip-archive > 0.2.3.5 \&\& < 
0.4/' ${pkgname}-${pkgver}/${pkgname}.cabal
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+        --libsubdir=\$compiler/site-local/\$pkgid \
+            -fFFI -fGMP
+    LC_CTYPE=en_US.UTF-8 runhaskell Setup build
+    LC_CTYPE=en_US.UTF-8 runhaskell Setup haddock --hoogle --html
+    runhaskell Setup register --gen-script
+    runhaskell Setup unregister --gen-script
+    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/{lib,share/doc}
+}

Reply via email to