Date: Friday, September 16, 2016 @ 12:58:16
  Author: felixonmars
Revision: 189649

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  hindent/repos/community-staging-i686/
  hindent/repos/community-staging-i686/PKGBUILD
    (from rev 189648, hindent/trunk/PKGBUILD)
  hindent/repos/community-staging-x86_64/
  hindent/repos/community-staging-x86_64/PKGBUILD
    (from rev 189648, hindent/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: hindent/repos/community-staging-i686/PKGBUILD (from rev 189648, 
hindent/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2016-09-16 12:58:16 UTC (rev 189649)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=hindent
+pkgver=5.2.1
+pkgrel=3
+pkgdesc="Extensible Haskell pretty printer"
+url="http://www.github.com/chrisdone/hindent";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=8.0.1" "haskell-descriptive" "haskell-exceptions" 
"haskell-monad-loops"
+             "haskell-mtl" "haskell-path" "haskell-path-io" "haskell-src-exts" 
"haskell-text"
+             "haskell-unix-compat" "haskell-utf8-string" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('0c3118ccf087bea9dfaa9cbcb76bd6ed35919acd2fa511c741e97277b6b01c53')
+
+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.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: hindent/repos/community-staging-x86_64/PKGBUILD (from rev 189648, 
hindent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-09-16 12:58:16 UTC (rev 189649)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=hindent
+pkgver=5.2.1
+pkgrel=3
+pkgdesc="Extensible Haskell pretty printer"
+url="http://www.github.com/chrisdone/hindent";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=8.0.1" "haskell-descriptive" "haskell-exceptions" 
"haskell-monad-loops"
+             "haskell-mtl" "haskell-path" "haskell-path-io" "haskell-src-exts" 
"haskell-text"
+             "haskell-unix-compat" "haskell-utf8-string" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('0c3118ccf087bea9dfaa9cbcb76bd6ed35919acd2fa511c741e97277b6b01c53')
+
+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.md" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Reply via email to