[arch-commits] Commit in ghc-mod/repos (6 files)

2017-02-05 Thread Felix Yan
Date: Monday, February 6, 2017 @ 03:13:20
  Author: felixonmars
Revision: 210185

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

Added:
  ghc-mod/repos/community-i686/PKGBUILD
(from rev 210184, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-x86_64/PKGBUILD
(from rev 210184, ghc-mod/trunk/PKGBUILD)
Deleted:
  ghc-mod/repos/community-i686/PKGBUILD
  ghc-mod/repos/community-i686/hse-1.18.patch
  ghc-mod/repos/community-x86_64/PKGBUILD
  ghc-mod/repos/community-x86_64/hse-1.18.patch

-+
 /PKGBUILD   |  120 ++
 community-i686/PKGBUILD |   69 -
 community-i686/hse-1.18.patch   |   75 ---
 community-x86_64/PKGBUILD   |   69 -
 community-x86_64/hse-1.18.patch |   75 ---
 5 files changed, 120 insertions(+), 288 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-02-06 03:12:52 UTC (rev 210184)
+++ community-i686/PKGBUILD 2017-02-06 03:13:20 UTC (rev 210185)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgbase=ghc-mod
-pkgname=(ghc-mod haskell-ghc-mod)
-pkgver=5.6.0.0
-pkgrel=16
-pkgdesc="Happy Haskell Programming"
-url="http://www.mew.org/~kazu/proj/ghc-mod/;
-license=("AGPL3")
-arch=('i686' 'x86_64')
-makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
- "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
- "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
- "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
- "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
- "haskell-transformers-base")
-source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
-hse-1.18.patch)
-sha256sums=('SKIP'
-'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
-
-prepare() {
-cd "$srcdir/$pkgbase"
-patch -p1 -i ../hse-1.18.patch
-
-sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
-}
-
-build() {
-cd "${srcdir}/${pkgbase}"
-
-runhaskell Setup configure -O --enable-library-profiling --enable-shared \
---prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
---libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build
-runhaskell Setup haddock --hoogle --html
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package_ghc-mod() {
-depends=('cabal-helper' 'ghc')
-
-cd "${srcdir}/${pkgbase}"
-runhaskell Setup copy --destdir="${pkgdir}"
-rm -r "$pkgdir"/usr/{lib,share/doc}
-
-install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
-}
-
-package_haskell-ghc-mod() {
-pkgdesc="Happy Haskell Programming (docs and libraries)"
-depends=("${makedepends[@]}" 'ghc-mod')
-
-cd "${srcdir}/${pkgbase}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
-ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
-runhaskell Setup copy --destdir="${pkgdir}"
-rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
-rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
-}

Copied: ghc-mod/repos/community-i686/PKGBUILD (from rev 210184, 
ghc-mod/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-02-06 03:13:20 UTC (rev 210185)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.7.0.0
+pkgrel=1
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 

[arch-commits] Commit in ghc-mod/repos (6 files)

2017-01-25 Thread Felix Yan
Date: Wednesday, January 25, 2017 @ 08:49:24
  Author: felixonmars
Revision: 208993

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 208992, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 208992, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 208992, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 208992, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   69 +++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   69 +++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 288 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 208992, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-01-25 08:49:24 UTC (rev 208993)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=16
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+
+sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 208992, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2017-01-25 08:49:24 UTC (rev 
208993)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git 

[arch-commits] Commit in ghc-mod/repos (6 files)

2017-01-23 Thread Felix Yan
Date: Monday, January 23, 2017 @ 14:40:21
  Author: felixonmars
Revision: 208564

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 208562, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 208563, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 208563, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 208563, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   69 +++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   69 +++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 288 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 208562, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-01-23 14:40:21 UTC (rev 208564)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=15
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+
+sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 208563, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2017-01-23 14:40:21 UTC (rev 
208564)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git 

[arch-commits] Commit in ghc-mod/repos (6 files)

2017-01-06 Thread Felix Yan
Date: Saturday, January 7, 2017 @ 06:45:21
  Author: felixonmars
Revision: 205945

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 205944, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 205944, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 205944, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 205944, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   69 +++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   69 +++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 288 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 205944, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-01-07 06:45:21 UTC (rev 205945)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=14
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+
+sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 205944, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2017-01-07 06:45:21 UTC (rev 
205945)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git 

[arch-commits] Commit in ghc-mod/repos (6 files)

2017-01-02 Thread Felix Yan
Date: Tuesday, January 3, 2017 @ 02:59:52
  Author: felixonmars
Revision: 204575

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 204574, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 204574, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 204574, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 204574, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   69 +++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   69 +++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 288 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 204574, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-01-03 02:59:52 UTC (rev 204575)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=13
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+
+sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 204574, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2017-01-03 02:59:52 UTC (rev 
204575)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-12-25 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 23:07:21
  Author: felixonmars
Revision: 202429

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 202428, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 202428, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 202428, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 202428, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   69 +++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   69 +++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 288 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 202428, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-25 23:07:21 UTC (rev 202429)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=12
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+
+sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 202428, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-12-25 23:07:21 UTC (rev 
202429)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-12-22 Thread Felix Yan
Date: Thursday, December 22, 2016 @ 12:23:33
  Author: felixonmars
Revision: 200993

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 200992, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 200992, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 200992, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 200992, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   69 +++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   69 +++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 288 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 200992, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-22 12:23:33 UTC (rev 200993)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=11
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+
+sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 200992, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-12-22 12:23:33 UTC (rev 
200993)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-12-21 Thread Felix Yan
Date: Thursday, December 22, 2016 @ 03:03:30
  Author: felixonmars
Revision: 200890

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 200889, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 200889, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 200889, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 200889, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   69 +++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   69 +++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 288 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 200889, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-22 03:03:30 UTC (rev 200890)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=10
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+
+sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 200889, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-12-22 03:03:30 UTC (rev 
200890)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-12-16 Thread Felix Yan
Date: Friday, December 16, 2016 @ 08:30:05
  Author: felixonmars
Revision: 199787

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 199786, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 199786, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 199786, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 199786, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   69 +++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   69 +++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 288 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 199786, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-16 08:30:05 UTC (rev 199787)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=9
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+
+sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 199786, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-12-16 08:30:05 UTC (rev 
199787)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-12-13 Thread Felix Yan
Date: Tuesday, December 13, 2016 @ 11:07:38
  Author: felixonmars
Revision: 199220

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 199219, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 199219, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 199219, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 199219, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   69 +++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   69 +++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 288 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 199219, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-13 11:07:38 UTC (rev 199220)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=8
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+
+sed -i 's/pipes >= 4.1 && <4.3/pipes >= 4.1 \&\& 
<4.4/' ghc-mod.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 199219, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-12-13 11:07:38 UTC (rev 
199220)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-12-12 Thread Felix Yan
Date: Monday, December 12, 2016 @ 09:17:59
  Author: felixonmars
Revision: 198950

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 198949, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 198949, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 198949, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 198949, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   67 ++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   67 ++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 284 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 198949, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-12 09:17:59 UTC (rev 198950)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=7
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 198949, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-12-12 09:17:59 UTC (rev 
198950)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/Language/Haskell/GhcMod/FillSig.hs 
b/Language/Haskell/GhcMod/FillSig.hs
+index 3f7ae4c..3e03ec0 100644
+--- 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-11-24 Thread Felix Yan
Date: Friday, November 25, 2016 @ 04:10:40
  Author: felixonmars
Revision: 196817

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 196816, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 196816, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 196816, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 196816, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   67 ++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   67 ++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 284 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 196816, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-25 04:10:40 UTC (rev 196817)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=6
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 196816, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-11-25 04:10:40 UTC (rev 
196817)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/Language/Haskell/GhcMod/FillSig.hs 
b/Language/Haskell/GhcMod/FillSig.hs
+index 3f7ae4c..3e03ec0 100644
+--- 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-11-24 Thread Felix Yan
Date: Thursday, November 24, 2016 @ 14:13:54
  Author: felixonmars
Revision: 196701

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 196700, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 196700, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 196700, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 196700, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   67 ++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   67 ++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 284 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 196700, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-24 14:13:54 UTC (rev 196701)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=5
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 196700, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-11-24 14:13:54 UTC (rev 
196701)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/Language/Haskell/GhcMod/FillSig.hs 
b/Language/Haskell/GhcMod/FillSig.hs
+index 3f7ae4c..3e03ec0 100644
+--- 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-10-26 Thread Felix Yan
Date: Wednesday, October 26, 2016 @ 10:33:38
  Author: felixonmars
Revision: 193590

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 193589, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 193589, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 193589, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 193589, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   67 ++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   67 ++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 284 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 193589, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-10-26 10:33:38 UTC (rev 193590)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=4
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative0.12" 
"haskell-pipes" "haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 193589, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-10-26 10:33:38 UTC (rev 
193590)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/Language/Haskell/GhcMod/FillSig.hs 
b/Language/Haskell/GhcMod/FillSig.hs
+index 3f7ae4c..3e03ec0 100644
+--- 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-09-06 Thread Felix Yan
Date: Tuesday, September 6, 2016 @ 15:09:27
  Author: felixonmars
Revision: 188769

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 188768, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/hse-1.18.patch
(from rev 188768, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 188768, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/hse-1.18.patch
(from rev 188768, ghc-mod/trunk/hse-1.18.patch)

-+
 community-staging-i686/PKGBUILD |   67 ++
 community-staging-i686/hse-1.18.patch   |   75 ++
 community-staging-x86_64/PKGBUILD   |   67 ++
 community-staging-x86_64/hse-1.18.patch |   75 ++
 4 files changed, 284 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 188768, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-09-06 15:09:27 UTC (rev 188769)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=2
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+source=("git+https://github.com/DanielG/ghc-mod.git#tag=v$pkgver;
+hse-1.18.patch)
+sha256sums=('SKIP'
+'d7c598d5d1a2e8bdb35460f8588376eb45d20fce660708f28e685e6aced481ab')
+
+prepare() {
+cd "$srcdir/$pkgbase"
+patch -p1 -i ../hse-1.18.patch
+}
+
+build() {
+cd "${srcdir}/${pkgbase}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+
+cd "${srcdir}/${pkgbase}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/hse-1.18.patch (from rev 188768, 
ghc-mod/trunk/hse-1.18.patch)
===
--- community-staging-i686/hse-1.18.patch   (rev 0)
+++ community-staging-i686/hse-1.18.patch   2016-09-06 15:09:27 UTC (rev 
188769)
@@ -0,0 +1,75 @@
+From afd535df487914152de3356be9a53aaa6311ecc7 Mon Sep 17 00:00:00 2001
+From: Oleg Grenrus 
+Date: Tue, 2 Aug 2016 06:35:56 +0300
+Subject: [PATCH] Support hse-1.18, allow newer extra and pipes too
+
+---
+ Language/Haskell/GhcMod/FillSig.hs  | 4 ++--
+ Language/Haskell/GhcMod/SrcUtils.hs | 4 ++--
+ ghc-mod.cabal   | 6 +++---
+ 3 files changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/Language/Haskell/GhcMod/FillSig.hs 
b/Language/Haskell/GhcMod/FillSig.hs
+index 3f7ae4c..3e03ec0 100644
+--- 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-08-12 Thread Felix Yan
Date: Friday, August 12, 2016 @ 09:40:33
  Author: felixonmars
Revision: 186543

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

Added:
  ghc-mod/repos/community-i686/PKGBUILD
(from rev 186542, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-i686/hse-1.18.patch
(from rev 186542, ghc-mod/trunk/hse-1.18.patch)
  ghc-mod/repos/community-x86_64/PKGBUILD
(from rev 186542, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-x86_64/hse-1.18.patch
(from rev 186542, ghc-mod/trunk/hse-1.18.patch)
Deleted:
  ghc-mod/repos/community-i686/PKGBUILD
  ghc-mod/repos/community-x86_64/PKGBUILD

-+
 /PKGBUILD   |  134 ++
 community-i686/PKGBUILD |   66 --
 community-i686/hse-1.18.patch   |   75 +
 community-x86_64/PKGBUILD   |   66 --
 community-x86_64/hse-1.18.patch |   75 +
 5 files changed, 284 insertions(+), 132 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2016-08-12 09:40:10 UTC (rev 186542)
+++ community-i686/PKGBUILD 2016-08-12 09:40:33 UTC (rev 186543)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-pkgbase=ghc-mod
-pkgname=(ghc-mod haskell-ghc-mod)
-pkgver=5.5.0.0
-pkgrel=34
-pkgdesc="Happy Haskell Programming"
-url="http://www.mew.org/~kazu/proj/ghc-mod/;
-license=("AGPL3")
-arch=('i686' 'x86_64')
-makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
- "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
- "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
- "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
- "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
- "haskell-transformers-base")
-source=("git+https://github.com/DanielG/ghc-mod.git#commit=f2c7b01e372dd8c516b1ccbe5a1025cc7814347c;)
-sha256sums=('SKIP')
-
-prepare() {
-sed -e 's/, pipes == 4.1.\*/, pipes >= 4.1/' \
--e 's/, extra == 1.4.\*/, extra >= 1.4/' \
--i $pkgbase/$pkgbase.cabal
-}
-
-build() {
-cd "${srcdir}/${pkgbase}"
-
-runhaskell Setup configure -O --enable-library-profiling --enable-shared \
---prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
---libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build
-runhaskell Setup haddock --hoogle --html
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package_ghc-mod() {
-depends=('cabal-helper' 'ghc')
-
-cd "${srcdir}/${pkgbase}"
-runhaskell Setup copy --destdir="${pkgdir}"
-rm -r "$pkgdir"/usr/{lib,share/doc}
-
-install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
-}
-
-package_haskell-ghc-mod() {
-pkgdesc="Happy Haskell Programming (docs and libraries)"
-depends=("${makedepends[@]}" 'ghc-mod')
-
-cd "${srcdir}/${pkgbase}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
-ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
-runhaskell Setup copy --destdir="${pkgdir}"
-rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
-rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
-}

Copied: ghc-mod/repos/community-i686/PKGBUILD (from rev 186542, 
ghc-mod/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-08-12 09:40:33 UTC (rev 186543)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.6.0.0
+pkgrel=1
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "git" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" 

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-05-10 Thread Felix Yan
Date: Tuesday, May 10, 2016 @ 19:01:38
  Author: fyan
Revision: 174584

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 174583, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 174583, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 174583, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 174583, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 174583, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-10 17:01:38 UTC (rev 174584)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=25
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
174583, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-05-10 17:01:38 UTC 
(rev 174584)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 174583, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-05-08 Thread Felix Yan
Date: Sunday, May 8, 2016 @ 18:47:52
  Author: fyan
Revision: 174358

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 174357, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 174357, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 174357, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 174357, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 174357, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-08 16:47:52 UTC (rev 174358)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=24
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
174357, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-05-08 16:47:52 UTC 
(rev 174358)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 174357, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-05-04 Thread Felix Yan
Date: Wednesday, May 4, 2016 @ 16:41:05
  Author: fyan
Revision: 173733

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 173732, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 173732, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 173732, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 173732, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 173732, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-04 14:41:05 UTC (rev 173733)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=23
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
173732, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-05-04 14:41:05 UTC 
(rev 173733)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 173732, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-04-30 Thread Felix Yan
Date: Saturday, April 30, 2016 @ 10:57:49
  Author: fyan
Revision: 173090

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 173088, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 173088, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 173089, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 173089, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 173088, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-30 08:57:49 UTC (rev 173090)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=22
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
173088, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-04-30 08:57:49 UTC 
(rev 173090)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 173089, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-04-14 Thread Felix Yan
Date: Thursday, April 14, 2016 @ 15:52:06
  Author: fyan
Revision: 171001

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 171000, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 171000, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 171000, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 171000, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 171000, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-14 13:52:06 UTC (rev 171001)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=20
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
171000, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-04-14 13:52:06 UTC 
(rev 171001)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 171000, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-04-12 Thread Felix Yan
Date: Tuesday, April 12, 2016 @ 16:00:34
  Author: fyan
Revision: 170697

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 170696, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 170696, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 170696, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 170696, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 170696, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-12 14:00:34 UTC (rev 170697)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=19
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
170696, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-04-12 14:00:34 UTC 
(rev 170697)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 170696, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-04-10 Thread Felix Yan
Date: Sunday, April 10, 2016 @ 17:48:17
  Author: fyan
Revision: 170104

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 170103, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 170103, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 170103, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 170103, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 170103, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-10 15:48:17 UTC (rev 170104)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=18
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
170103, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-04-10 15:48:17 UTC 
(rev 170104)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 170103, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-03-23 Thread Felix Yan
Date: Wednesday, March 23, 2016 @ 15:53:53
  Author: fyan
Revision: 168121

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 168120, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 168120, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 168120, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 168120, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 168120, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-23 14:53:53 UTC (rev 168121)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=17
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
168120, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-03-23 14:53:53 UTC 
(rev 168121)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 168120, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-03-20 Thread Felix Yan
Date: Friday, March 18, 2016 @ 09:57:43
  Author: fyan
Revision: 167361

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 167360, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 167360, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 167360, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 167360, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 167360, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-18 08:57:43 UTC (rev 167361)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=16
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
167360, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-03-18 08:57:43 UTC 
(rev 167361)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 167360, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-03-05 Thread Felix Yan
Date: Saturday, March 5, 2016 @ 09:18:02
  Author: fyan
Revision: 164970

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 164969, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 164969, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 164969, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 164969, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 164969, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-05 08:18:02 UTC (rev 164970)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=15
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
164969, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-03-05 08:18:02 UTC 
(rev 164970)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 164969, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-03-02 Thread Felix Yan
Date: Thursday, March 3, 2016 @ 07:48:44
  Author: fyan
Revision: 164302

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 164301, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 164301, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 164301, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 164301, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 164301, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-03 06:48:44 UTC (rev 164302)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=13
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
164301, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-03-03 06:48:44 UTC 
(rev 164302)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 164301, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-03-01 Thread Felix Yan
Date: Tuesday, March 1, 2016 @ 12:57:25
  Author: fyan
Revision: 163896

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 163895, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 163895, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 163895, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 163895, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 163895, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-01 11:57:25 UTC (rev 163896)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=12
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
163895, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-03-01 11:57:25 UTC 
(rev 163896)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 163895, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-02-19 Thread Felix Yan
Date: Friday, February 19, 2016 @ 15:09:36
  Author: fyan
Revision: 162527

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 162526, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 162526, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 162526, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 162526, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 162526, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-19 14:09:36 UTC (rev 162527)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=11
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
162526, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-02-19 14:09:36 UTC 
(rev 162527)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 162526, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-02-18 Thread Felix Yan
Date: Thursday, February 18, 2016 @ 10:14:12
  Author: fyan
Revision: 162237

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 162236, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 162236, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 162236, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 162236, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 162236, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-18 09:14:12 UTC (rev 162237)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=10
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
162236, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-02-18 09:14:12 UTC 
(rev 162237)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 162236, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-02-04 Thread Felix Yan
Date: Thursday, February 4, 2016 @ 11:07:06
  Author: fyan
Revision: 160253

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 160252, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 160252, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 160252, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 160252, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 160252, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-04 10:07:06 UTC (rev 160253)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=8
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
160252, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-02-04 10:07:06 UTC 
(rev 160253)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 160252, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-02-02 Thread Felix Yan
Date: Tuesday, February 2, 2016 @ 13:51:05
  Author: fyan
Revision: 159930

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 159929, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 159929, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 159929, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 159929, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 159929, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-02 12:51:05 UTC (rev 159930)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=7
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
159929, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-02-02 12:51:05 UTC 
(rev 159930)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 159929, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-01-30 Thread Felix Yan
Date: Saturday, January 30, 2016 @ 15:11:58
  Author: fyan
Revision: 159557

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 159556, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 159556, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 159556, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 159556, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 159556, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-30 14:11:58 UTC (rev 159557)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=6
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
159556, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-01-30 14:11:58 UTC 
(rev 159557)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 159556, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-01-27 Thread Felix Yan
Date: Wednesday, January 27, 2016 @ 13:20:27
  Author: fyan
Revision: 159162

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 159161, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 159161, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 159161, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 159161, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 159161, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-27 12:20:27 UTC (rev 159162)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=5
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
159161, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-01-27 12:20:27 UTC 
(rev 159162)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 159161, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-01-26 Thread Felix Yan
Date: Tuesday, January 26, 2016 @ 10:39:11
  Author: fyan
Revision: 158937

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 158936, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 158936, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 158936, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 158936, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 158936, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-26 09:39:11 UTC (rev 158937)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=4
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
158936, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-01-26 09:39:11 UTC 
(rev 158937)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 158936, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-01-25 Thread Felix Yan
Date: Monday, January 25, 2016 @ 10:41:14
  Author: fyan
Revision: 158845

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

Added:
  ghc-mod/repos/community-staging-i686/
  ghc-mod/repos/community-staging-i686/PKGBUILD
(from rev 158844, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install
(from rev 158844, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-staging-x86_64/
  ghc-mod/repos/community-staging-x86_64/PKGBUILD
(from rev 158844, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-staging-x86_64/haskell-ghc-mod.install
(from rev 158844, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-staging-i686/PKGBUILD  |   61 +
 community-staging-i686/haskell-ghc-mod.install   |   18 ++
 community-staging-x86_64/PKGBUILD|   61 +
 community-staging-x86_64/haskell-ghc-mod.install |   18 ++
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-staging-i686/PKGBUILD (from rev 158844, 
ghc-mod/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-25 09:41:14 UTC (rev 158845)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=3
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('cabal-helper' 'ghc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-staging-i686/haskell-ghc-mod.install (from rev 
158844, ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-staging-i686/haskell-ghc-mod.install  
(rev 0)
+++ community-staging-i686/haskell-ghc-mod.install  2016-01-25 09:41:14 UTC 
(rev 158845)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-staging-x86_64/PKGBUILD (from rev 158844, 
ghc-mod/trunk/PKGBUILD)

[arch-commits] Commit in ghc-mod/repos (6 files)

2016-01-20 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 17:05:12
  Author: fyan
Revision: 158317

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

Added:
  ghc-mod/repos/community-i686/
  ghc-mod/repos/community-i686/PKGBUILD
(from rev 158316, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-i686/haskell-ghc-mod.install
(from rev 158316, ghc-mod/trunk/haskell-ghc-mod.install)
  ghc-mod/repos/community-x86_64/
  ghc-mod/repos/community-x86_64/PKGBUILD
(from rev 158316, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-x86_64/haskell-ghc-mod.install
(from rev 158316, ghc-mod/trunk/haskell-ghc-mod.install)

--+
 community-i686/PKGBUILD  |   61 +
 community-i686/haskell-ghc-mod.install   |   18 
 community-x86_64/PKGBUILD|   61 +
 community-x86_64/haskell-ghc-mod.install |   18 
 4 files changed, 158 insertions(+)

Copied: ghc-mod/repos/community-i686/PKGBUILD (from rev 158316, 
ghc-mod/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-01-20 16:05:12 UTC (rev 158317)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.0.0
+pkgrel=1
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/;
+license=("AGPL3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-cabal-helper" "haskell-djinn-ghc" 
"haskell-extra"
+ "haskell-fclabels" "haskell-ghc-paths" "haskell-ghc-syb-utils" 
"haskell-src-exts"
+ "haskell-hlint" "haskell-monad-control" "haskell-monad-journal" 
"haskell-mtl"
+ "haskell-old-time" "haskell-optparse-applicative" "haskell-pipes" 
"haskell-safe"
+ "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+ "haskell-transformers-base")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d05be8f3541e875cd4ebefb28968cfc095fc323e49328f2e40581f6f5de70d31')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_ghc-mod() {
+depends=('gmp' 'libffi')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+
+install -D -m644 "COPYING.BSD3" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+}
+
+package_haskell-ghc-mod() {
+pkgdesc="Happy Haskell Programming (docs and libraries)"
+depends=("${makedepends[@]}" 'ghc-mod')
+install="haskell-ghc-mod.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgbase}/COPYING.BSD3"
+rm -r "$pkgdir"/usr/{bin,share/$pkgbase}
+}

Copied: ghc-mod/repos/community-i686/haskell-ghc-mod.install (from rev 158316, 
ghc-mod/trunk/haskell-ghc-mod.install)
===
--- community-i686/haskell-ghc-mod.install  (rev 0)
+++ community-i686/haskell-ghc-mod.install  2016-01-20 16:05:12 UTC (rev 
158317)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-ghc-mod
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: ghc-mod/repos/community-x86_64/PKGBUILD (from rev 158316, 
ghc-mod/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2016-01-20 16:05:12 UTC (rev 158317)
@@ -0,0