Date: Tuesday, June 14, 2016 @ 15:58:03
  Author: felixonmars
Revision: 179983

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 179982, hindent/trunk/PKGBUILD)
  hindent/repos/community-staging-x86_64/
  hindent/repos/community-staging-x86_64/PKGBUILD
    (from rev 179982, hindent/trunk/PKGBUILD)

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

Copied: hindent/repos/community-staging-i686/PKGBUILD (from rev 179982, 
hindent/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2016-06-14 15:58:03 UTC (rev 179983)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=hindent
+pkgver=4.6.3
+pkgrel=6
+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-data-default" "haskell-descriptive" 
"haskell-src-exts"
+             "haskell-monad-loops" "haskell-mtl" "haskell-text")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('6b8d9d4e0c6ea04115bb555964348350c7cea5e05e66aafa1d624e75c6d5bf8e')
+
+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: hindent/repos/community-staging-x86_64/PKGBUILD (from rev 179982, 
hindent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-06-14 15:58:03 UTC (rev 179983)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Arch Haskell Team <arch-hask...@haskell.org>
+
+pkgname=hindent
+pkgver=4.6.3
+pkgrel=6
+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-data-default" "haskell-descriptive" 
"haskell-src-exts"
+             "haskell-monad-loops" "haskell-mtl" "haskell-text")
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('6b8d9d4e0c6ea04115bb555964348350c7cea5e05e66aafa1d624e75c6d5bf8e')
+
+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"
+}

Reply via email to