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

Felix Yan fyan at archlinux.org
Sun Apr 10 16:40:23 UTC 2016


    Date: Sunday, April 10, 2016 @ 18:40:22
  Author: fyan
Revision: 170133

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

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

Copied: stylish-haskell/repos/community-staging-i686/PKGBUILD (from rev 170131, stylish-haskell/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-04-10 16:40:22 UTC (rev 170133)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=stylish-haskell
+pkgver=0.5.16.0
+pkgrel=2
+pkgdesc="Haskell code prettifier"
+url="https://github.com/jaspervdj/stylish-haskell"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-cmdargs" "haskell-src-exts" "haskell-mtl"
+             "haskell-strict" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('dc0c7f3fe9e61838374f60eb91b6f72e6b27d1a8a4971938aed7d48d313812bb')
+
+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 170131, stylish-haskell/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-04-10 16:40:22 UTC (rev 170133)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=stylish-haskell
+pkgver=0.5.16.0
+pkgrel=2
+pkgdesc="Haskell code prettifier"
+url="https://github.com/jaspervdj/stylish-haskell"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('gmp' 'libffi')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-cmdargs" "haskell-src-exts" "haskell-mtl"
+             "haskell-strict" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('dc0c7f3fe9e61838374f60eb91b6f72e6b27d1a8a4971938aed7d48d313812bb')
+
+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