[arch-commits] Commit in ghc-mod/repos (8 files)
Felix Yan
fyan at archlinux.org
Wed Jan 20 16:43:02 UTC 2016
Date: Wednesday, January 20, 2016 @ 17:43:01
Author: fyan
Revision: 158326
archrelease: copy trunk to community-i686, community-x86_64
Added:
ghc-mod/repos/community-i686/PKGBUILD
(from rev 158325, ghc-mod/trunk/PKGBUILD)
ghc-mod/repos/community-i686/haskell-ghc-mod.install
(from rev 158325, ghc-mod/trunk/haskell-ghc-mod.install)
ghc-mod/repos/community-x86_64/PKGBUILD
(from rev 158325, ghc-mod/trunk/PKGBUILD)
ghc-mod/repos/community-x86_64/haskell-ghc-mod.install
(from rev 158325, ghc-mod/trunk/haskell-ghc-mod.install)
Deleted:
ghc-mod/repos/community-i686/PKGBUILD
ghc-mod/repos/community-i686/haskell-ghc-mod.install
ghc-mod/repos/community-x86_64/PKGBUILD
ghc-mod/repos/community-x86_64/haskell-ghc-mod.install
------------------------------------------+
/PKGBUILD | 122 +++++++++++++++++++++++++++++
/haskell-ghc-mod.install | 36 ++++++++
community-i686/PKGBUILD | 61 --------------
community-i686/haskell-ghc-mod.install | 18 ----
community-x86_64/PKGBUILD | 61 --------------
community-x86_64/haskell-ghc-mod.install | 18 ----
6 files changed, 158 insertions(+), 158 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-01-20 16:42:30 UTC (rev 158325)
+++ community-i686/PKGBUILD 2016-01-20 16:43:01 UTC (rev 158326)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-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/PKGBUILD (from rev 158325, ghc-mod/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-01-20 16:43:01 UTC (rev 158326)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.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=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' '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}
+}
Deleted: community-i686/haskell-ghc-mod.install
===================================================================
--- community-i686/haskell-ghc-mod.install 2016-01-20 16:42:30 UTC (rev 158325)
+++ community-i686/haskell-ghc-mod.install 2016-01-20 16:43:01 UTC (rev 158326)
@@ -1,18 +0,0 @@
-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-i686/haskell-ghc-mod.install (from rev 158325, 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:43:01 UTC (rev 158326)
@@ -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)
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-01-20 16:42:30 UTC (rev 158325)
+++ community-x86_64/PKGBUILD 2016-01-20 16:43:01 UTC (rev 158326)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-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-x86_64/PKGBUILD (from rev 158325, ghc-mod/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-01-20 16:43:01 UTC (rev 158326)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgbase=ghc-mod
+pkgname=(ghc-mod haskell-ghc-mod)
+pkgver=5.5.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=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' '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}
+}
Deleted: community-x86_64/haskell-ghc-mod.install
===================================================================
--- community-x86_64/haskell-ghc-mod.install 2016-01-20 16:42:30 UTC (rev 158325)
+++ community-x86_64/haskell-ghc-mod.install 2016-01-20 16:43:01 UTC (rev 158326)
@@ -1,18 +0,0 @@
-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/haskell-ghc-mod.install (from rev 158325, ghc-mod/trunk/haskell-ghc-mod.install)
===================================================================
--- community-x86_64/haskell-ghc-mod.install (rev 0)
+++ community-x86_64/haskell-ghc-mod.install 2016-01-20 16:43:01 UTC (rev 158326)
@@ -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)
+}
More information about the arch-commits
mailing list