Date: Monday, March 20, 2017 @ 21:19:34 Author: felixonmars Revision: 217799
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 217798, stylish-haskell/trunk/PKGBUILD) stylish-haskell/repos/community-staging-x86_64/ stylish-haskell/repos/community-staging-x86_64/PKGBUILD (from rev 217798, stylish-haskell/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) Copied: stylish-haskell/repos/community-staging-i686/PKGBUILD (from rev 217798, stylish-haskell/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-03-20 21:19:34 UTC (rev 217799) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=stylish-haskell +pkgver=0.7.1.0 +pkgrel=13 +pkgdesc="Haskell code prettifier" +url="https://github.com/jaspervdj/stylish-haskell" +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('gmp' 'libffi') +makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-src-exts" "haskell-mtl" + "haskell-optparse-applicative" "haskell-strict" "haskell-syb" "haskell-yaml") +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('570a643ae6798995a43b0b357005e71c1529ed43ebafa2748fc97a236e0c01bc') + +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 217798, stylish-haskell/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-03-20 21:19:34 UTC (rev 217799) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=stylish-haskell +pkgver=0.7.1.0 +pkgrel=13 +pkgdesc="Haskell code prettifier" +url="https://github.com/jaspervdj/stylish-haskell" +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=('gmp' 'libffi') +makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-src-exts" "haskell-mtl" + "haskell-optparse-applicative" "haskell-strict" "haskell-syb" "haskell-yaml") +source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('570a643ae6798995a43b0b357005e71c1529ed43ebafa2748fc97a236e0c01bc') + +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" +}