[arch-commits] Commit in (hindent hindent/repos hindent/trunk hindent/trunk/PKGBUILD)

Felix Yan fyan at archlinux.org
Thu Jan 21 07:06:26 UTC 2016


    Date: Thursday, January 21, 2016 @ 08:06:26
  Author: fyan
Revision: 158395

addpkg: hindent 4.6.1-1

Added:
  hindent/
  hindent/repos/
  hindent/trunk/
  hindent/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: hindent/trunk/PKGBUILD
===================================================================
--- hindent/trunk/PKGBUILD	                        (rev 0)
+++ hindent/trunk/PKGBUILD	2016-01-21 07:06:26 UTC (rev 158395)
@@ -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=1
+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"
+}


Property changes on: hindent/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list