Date: Monday, April 11, 2016 @ 19:02:46 Author: fyan Revision: 170502
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 170501, stylish-haskell/trunk/PKGBUILD) stylish-haskell/repos/community-staging-x86_64/ stylish-haskell/repos/community-staging-x86_64/PKGBUILD (from rev 170501, 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 170501, stylish-haskell/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-04-11 17:02:46 UTC (rev 170502) @@ -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.16.0 +pkgrel=3 +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=('dc0c7f3fe9e61838374f60eb91b6f72e6b27d1a8a4971938aed7d48d313812bb') + +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 170501, stylish-haskell/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-04-11 17:02:46 UTC (rev 170502) @@ -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.16.0 +pkgrel=3 +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=('dc0c7f3fe9e61838374f60eb91b6f72e6b27d1a8a4971938aed7d48d313812bb') + +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" +}