[arch-commits] Commit in idris/repos (4 files)

Felix Yan felixonmars at archlinux.org
Thu Mar 16 16:58:28 UTC 2017


    Date: Thursday, March 16, 2017 @ 16:58:28
  Author: felixonmars
Revision: 216772

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

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

Copied: idris/repos/community-staging-i686/PKGBUILD (from rev 216771, idris/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-03-16 16:58:28 UTC (rev 216772)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=idris
+pkgver=0.99.1
+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=8.0.1" "git" "haskell-aeson" "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-code-page"
+             "haskell-fingertree" "haskell-fsnotify" "haskell-ieee754" "haskell-mtl"
+             "haskell-libffi" "haskell-network" "haskell-optparse-applicative" "haskell-parsers"
+             "haskell-regex-tdfa" "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")
+source=("git+https://github.com/idris-lang/Idris-dev.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+    sed -i 's/, safe == 0.3.9/, safe >= 0.3.9/' Idris-dev/${pkgname}.cabal
+}
+
+build() {
+    cd "${srcdir}/Idris-dev"
+
+    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+        --libsubdir=\$compiler/site-local/\$pkgid \
+            -fFFI -fGMP -frelease -f-freestanding -f-CI -f-execonly
+    LC_CTYPE=en_US.UTF-8 runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/Idris-dev"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/{lib,share/doc}
+}

Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 216771, idris/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-03-16 16:58:28 UTC (rev 216772)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=idris
+pkgver=0.99.1
+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=8.0.1" "git" "haskell-aeson" "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-code-page"
+             "haskell-fingertree" "haskell-fsnotify" "haskell-ieee754" "haskell-mtl"
+             "haskell-libffi" "haskell-network" "haskell-optparse-applicative" "haskell-parsers"
+             "haskell-regex-tdfa" "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")
+source=("git+https://github.com/idris-lang/Idris-dev.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+    sed -i 's/, safe == 0.3.9/, safe >= 0.3.9/' Idris-dev/${pkgname}.cabal
+}
+
+build() {
+    cd "${srcdir}/Idris-dev"
+
+    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+        --libsubdir=\$compiler/site-local/\$pkgid \
+            -fFFI -fGMP -frelease -f-freestanding -f-CI -f-execonly
+    LC_CTYPE=en_US.UTF-8 runhaskell Setup build
+}
+
+package() {
+    cd "${srcdir}/Idris-dev"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/{lib,share/doc}
+}



More information about the arch-commits mailing list