Date: Wednesday, March 29, 2017 @ 18:54:24 Author: felixonmars Revision: 219959
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: purescript/repos/community-staging-i686/ purescript/repos/community-staging-i686/PKGBUILD (from rev 219958, purescript/trunk/PKGBUILD) purescript/repos/community-staging-x86_64/ purescript/repos/community-staging-x86_64/PKGBUILD (from rev 219958, purescript/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 45 ++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) Copied: purescript/repos/community-staging-i686/PKGBUILD (from rev 219958, purescript/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-03-29 18:54:24 UTC (rev 219959) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=purescript +pkgver=0.11.1 +pkgrel=2 +pkgdesc="PureScript Programming Language Compiler" +url="http://www.purescript.org/" +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('gmp' 'libffi' 'zlib') +makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-aeson-better-errors" "haskell-aeson-pretty" + "haskell-ansi-terminal" "haskell-ansi-wl-pprint" "haskell-base-compat" + "haskell-blaze-html" "haskell-bower-json" "haskell-boxes" "haskell-cheapskate" + "haskell-clock" "haskell-data-ordlist" "haskell-dlist" "haskell-edit-distance" + "haskell-file-embed" "haskell-fsnotify" "haskell-glob" "haskell-http-client" + "haskell-http-types" "haskell-language-javascript" "haskell-lens" "haskell-lifted-base" + "haskell-monad-control" "haskell-monad-logger" "haskell-mtl" "haskell-network" + "haskell-optparse-applicative" "haskell-parallel" "haskell-parsec" + "haskell-pattern-arrows" "haskell-pipes" "haskell-pipes-http" "haskell-protolude" + "haskell-regex-tdfa" "haskell-safe" "haskell-semigroups" "haskell-sourcemap" + "haskell-spdx" "haskell-split" "haskell-stm" "haskell-syb" "haskell-text" + "haskell-transformers-base" "haskell-transformers-compat" + "haskell-unordered-containers" "haskell-utf8-string" "haskell-vector" "haskell-wai" + "haskell-wai-websockets" "haskell-warp" "haskell-websockets") +optdepends=('pulp: for development environment') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('0c897dc964a4eba906a6e847317e088ffb4b361c4611554e413f295a91d9f8d3bea564ac9d9bc1f6af07ac474ef75f38192375f1896c7cd85e3587e53d438a4f') + +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 \ + -frelease + LC_CTYPE=en_US.UTF-8 runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -r "$pkgdir"/usr/{lib,share} +} Copied: purescript/repos/community-staging-x86_64/PKGBUILD (from rev 219958, purescript/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-03-29 18:54:24 UTC (rev 219959) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=purescript +pkgver=0.11.1 +pkgrel=2 +pkgdesc="PureScript Programming Language Compiler" +url="http://www.purescript.org/" +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('gmp' 'libffi' 'zlib') +makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-aeson-better-errors" "haskell-aeson-pretty" + "haskell-ansi-terminal" "haskell-ansi-wl-pprint" "haskell-base-compat" + "haskell-blaze-html" "haskell-bower-json" "haskell-boxes" "haskell-cheapskate" + "haskell-clock" "haskell-data-ordlist" "haskell-dlist" "haskell-edit-distance" + "haskell-file-embed" "haskell-fsnotify" "haskell-glob" "haskell-http-client" + "haskell-http-types" "haskell-language-javascript" "haskell-lens" "haskell-lifted-base" + "haskell-monad-control" "haskell-monad-logger" "haskell-mtl" "haskell-network" + "haskell-optparse-applicative" "haskell-parallel" "haskell-parsec" + "haskell-pattern-arrows" "haskell-pipes" "haskell-pipes-http" "haskell-protolude" + "haskell-regex-tdfa" "haskell-safe" "haskell-semigroups" "haskell-sourcemap" + "haskell-spdx" "haskell-split" "haskell-stm" "haskell-syb" "haskell-text" + "haskell-transformers-base" "haskell-transformers-compat" + "haskell-unordered-containers" "haskell-utf8-string" "haskell-vector" "haskell-wai" + "haskell-wai-websockets" "haskell-warp" "haskell-websockets") +optdepends=('pulp: for development environment') +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('0c897dc964a4eba906a6e847317e088ffb4b361c4611554e413f295a91d9f8d3bea564ac9d9bc1f6af07ac474ef75f38192375f1896c7cd85e3587e53d438a4f') + +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 \ + -frelease + LC_CTYPE=en_US.UTF-8 runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -r "$pkgdir"/usr/{lib,share} +}