[arch-commits] Commit in hindent/repos (4 files)

Felix Yan fyan at archlinux.org
Wed Jan 27 12:11:44 UTC 2016


    Date: Wednesday, January 27, 2016 @ 13:11:44
  Author: fyan
Revision: 159158

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 159157, hindent/trunk/PKGBUILD)
  hindent/repos/community-staging-x86_64/
  hindent/repos/community-staging-x86_64/PKGBUILD
    (from rev 159157, 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 159157, hindent/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-01-27 12:11:44 UTC (rev 159158)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hindent
+pkgver=4.6.1
+pkgrel=2
+pkgdesc="Extensible Haskell pretty printer"
+url="http://www.github.com/chrisdone/hindent"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-descriptive" "haskell-src-exts"
+             "haskell-monad-loops" "haskell-mtl" "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('04e8ffb44b46a45cd6425233efe595d6e412a20c71b69749f72c036bca4870f5')
+
+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 159157, hindent/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-01-27 12:11:44 UTC (rev 159158)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hindent
+pkgver=4.6.1
+pkgrel=2
+pkgdesc="Extensible Haskell pretty printer"
+url="http://www.github.com/chrisdone/hindent"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-descriptive" "haskell-src-exts"
+             "haskell-monad-loops" "haskell-mtl" "haskell-text")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('04e8ffb44b46a45cd6425233efe595d6e412a20c71b69749f72c036bca4870f5')
+
+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"
+}



More information about the arch-commits mailing list