Date: Thursday, February 18, 2016 @ 08:34:20 Author: fyan Revision: 162207
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: stylish-haskell/repos/community-staging-i686/ stylish-haskell/repos/community-staging-i686/PKGBUILD (from rev 162206, stylish-haskell/trunk/PKGBUILD) stylish-haskell/repos/community-staging-x86_64/ stylish-haskell/repos/community-staging-x86_64/PKGBUILD (from rev 162206, stylish-haskell/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) Copied: stylish-haskell/repos/community-staging-i686/PKGBUILD (from rev 162206, stylish-haskell/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-02-18 07:34:20 UTC (rev 162207) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=stylish-haskell +pkgver=0.5.15.1 +pkgrel=5 +pkgdesc="Haskell code prettifier" +url="https://github.com/jaspervdj/stylish-haskell" +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('gmp' 'libffi') +makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-cmdargs" "haskell-src-exts" "haskell-mtl" + "haskell-strict" "haskell-syb" "haskell-yaml") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('c7ff0fdf7a2e23b3c23dfd7b925ec29117a7d6d93fe1445f88d28b589802fee5') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --prefix=/usr \ + --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" + runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -r "$pkgdir"/usr/{lib,share/doc} + + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +} Copied: stylish-haskell/repos/community-staging-x86_64/PKGBUILD (from rev 162206, stylish-haskell/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-02-18 07:34:20 UTC (rev 162207) @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=stylish-haskell +pkgver=0.5.15.1 +pkgrel=5 +pkgdesc="Haskell code prettifier" +url="https://github.com/jaspervdj/stylish-haskell" +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('gmp' 'libffi') +makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-cmdargs" "haskell-src-exts" "haskell-mtl" + "haskell-strict" "haskell-syb" "haskell-yaml") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('c7ff0fdf7a2e23b3c23dfd7b925ec29117a7d6d93fe1445f88d28b589802fee5') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --prefix=/usr \ + --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" + runhaskell Setup build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -r "$pkgdir"/usr/{lib,share/doc} + + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" +}