Date: Sunday, April 9, 2017 @ 19:47:29 Author: felixonmars Revision: 221658
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 221657, idris/trunk/PKGBUILD) idris/repos/community-staging-x86_64/ idris/repos/community-staging-x86_64/PKGBUILD (from rev 221657, idris/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) Copied: idris/repos/community-staging-i686/PKGBUILD (from rev 221657, idris/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-04-09 19:47:29 UTC (rev 221658) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=idris +pkgver=1.0 +pkgrel=3 +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" "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=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz") +sha512sums=('a350004a8510f01d1cc8f965a9a4e2dab219f003980b98354ebb5ae42f73b32c90c98dce193943e9709d994cb92ad35814a46b79412a1afc85d42e1018c6ba10') + +build() { + cd "$srcdir"/Idris-dev-$pkgver + + 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-$pkgver + runhaskell Setup copy --destdir="$pkgdir" + rm -r "$pkgdir"/usr/{lib,share/doc} +} Copied: idris/repos/community-staging-x86_64/PKGBUILD (from rev 221657, idris/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-04-09 19:47:29 UTC (rev 221658) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=idris +pkgver=1.0 +pkgrel=3 +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" "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=("$pkgname-$pkgver.tar.gz::https://github.com/idris-lang/Idris-dev/archive/v$pkgver.tar.gz") +sha512sums=('a350004a8510f01d1cc8f965a9a4e2dab219f003980b98354ebb5ae42f73b32c90c98dce193943e9709d994cb92ad35814a46b79412a1afc85d42e1018c6ba10') + +build() { + cd "$srcdir"/Idris-dev-$pkgver + + 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-$pkgver + runhaskell Setup copy --destdir="$pkgdir" + rm -r "$pkgdir"/usr/{lib,share/doc} +}