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

Felix Yan felixonmars at archlinux.org
Sat Jul 15 15:00:21 UTC 2017


    Date: Saturday, July 15, 2017 @ 15:00:20
  Author: felixonmars
Revision: 245236

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

Added:
  ghc-mod/repos/community-i686/PKGBUILD
    (from rev 245235, ghc-mod/trunk/PKGBUILD)
  ghc-mod/repos/community-x86_64/PKGBUILD
    (from rev 245235, ghc-mod/trunk/PKGBUILD)
Deleted:
  ghc-mod/repos/community-i686/PKGBUILD
  ghc-mod/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  112 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   53 --------------------
 community-x86_64/PKGBUILD |   53 --------------------
 3 files changed, 112 insertions(+), 106 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-07-15 14:59:53 UTC (rev 245235)
+++ community-i686/PKGBUILD	2017-07-15 15:00:20 UTC (rev 245236)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=ghc-mod
-pkgver=5.8.0.0
-_commit=9ab25526b8690daecaa3d34a7e30f022f7b388bc
-pkgrel=22
-pkgdesc="Happy Haskell Programming"
-url="http://www.mew.org/~kazu/proj/ghc-mod/"
-license=("AGPL3")
-arch=('i686' 'x86_64')
-depends=('ghc' "cabal-helper" "haskell-djinn-ghc" "haskell-extra" "haskell-fclabels"
-         "haskell-ghc-paths" "haskell-ghc-syb-utils" "haskell-src-exts" "hlint"
-         "haskell-monad-control" "haskell-monad-journal" "haskell-mtl" "haskell-old-time"
-         "haskell-optparse-applicative" "haskell-pipes" "haskell-safe" "haskell-semigroups"
-         "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
-         "haskell-transformers-base")
-conflicts=('haskell-ghc-mod')
-replaces=('haskell-ghc-mod')
-source=("$pkgname-$_commit.tar.gz::https://github.com/DanielG/ghc-mod/archive/$_commit.tar.gz")
-sha256sums=('75d83356999c2a1e6ea1d9c4340dcf3d260d2b462c4e9691ceb1f28385b3e70b')
-
-prepare() {
-    cd $pkgname-$_commit
-    sed -i 's/, optparse-applicative == 0.13.0.*/, optparse-applicative == 0.13.*/' ghc-mod.cabal
-}
-
-build() {
-    cd $pkgname-$_commit
-    
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
-        --dynlibdir=/usr/lib --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() {
-    cd $pkgname-$_commit
-
-    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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
-    runhaskell Setup copy --destdir="${pkgdir}"
-    install -D -m644 "COPYING.BSD3" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
-}

Copied: ghc-mod/repos/community-i686/PKGBUILD (from rev 245235, ghc-mod/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-07-15 15:00:20 UTC (rev 245236)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=ghc-mod
+pkgver=5.8.0.0
+_commit=9ab25526b8690daecaa3d34a7e30f022f7b388bc
+pkgrel=23
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/"
+license=("AGPL3")
+arch=('i686' 'x86_64')
+depends=('ghc' "cabal-helper" "haskell-djinn-ghc" "haskell-extra" "haskell-fclabels"
+         "haskell-ghc-paths" "haskell-ghc-syb-utils" "haskell-src-exts" "hlint"
+         "haskell-monad-control" "haskell-monad-journal" "haskell-mtl" "haskell-old-time"
+         "haskell-optparse-applicative" "haskell-pipes" "haskell-safe" "haskell-semigroups"
+         "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+         "haskell-transformers-base")
+conflicts=('haskell-ghc-mod')
+replaces=('haskell-ghc-mod')
+source=("$pkgname-$_commit.tar.gz::https://github.com/DanielG/ghc-mod/archive/$_commit.tar.gz")
+sha256sums=('75d83356999c2a1e6ea1d9c4340dcf3d260d2b462c4e9691ceb1f28385b3e70b')
+
+prepare() {
+    cd $pkgname-$_commit
+    sed -i 's/, optparse-applicative == 0.13.0.*/, optparse-applicative == 0.13.*/' ghc-mod.cabal
+}
+
+build() {
+    cd $pkgname-$_commit
+    
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+        --dynlibdir=/usr/lib --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() {
+    cd $pkgname-$_commit
+
+    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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m644 "COPYING.BSD3" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-07-15 14:59:53 UTC (rev 245235)
+++ community-x86_64/PKGBUILD	2017-07-15 15:00:20 UTC (rev 245236)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=ghc-mod
-pkgver=5.8.0.0
-_commit=9ab25526b8690daecaa3d34a7e30f022f7b388bc
-pkgrel=22
-pkgdesc="Happy Haskell Programming"
-url="http://www.mew.org/~kazu/proj/ghc-mod/"
-license=("AGPL3")
-arch=('i686' 'x86_64')
-depends=('ghc' "cabal-helper" "haskell-djinn-ghc" "haskell-extra" "haskell-fclabels"
-         "haskell-ghc-paths" "haskell-ghc-syb-utils" "haskell-src-exts" "hlint"
-         "haskell-monad-control" "haskell-monad-journal" "haskell-mtl" "haskell-old-time"
-         "haskell-optparse-applicative" "haskell-pipes" "haskell-safe" "haskell-semigroups"
-         "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
-         "haskell-transformers-base")
-conflicts=('haskell-ghc-mod')
-replaces=('haskell-ghc-mod')
-source=("$pkgname-$_commit.tar.gz::https://github.com/DanielG/ghc-mod/archive/$_commit.tar.gz")
-sha256sums=('75d83356999c2a1e6ea1d9c4340dcf3d260d2b462c4e9691ceb1f28385b3e70b')
-
-prepare() {
-    cd $pkgname-$_commit
-    sed -i 's/, optparse-applicative == 0.13.0.*/, optparse-applicative == 0.13.*/' ghc-mod.cabal
-}
-
-build() {
-    cd $pkgname-$_commit
-    
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
-        --dynlibdir=/usr/lib --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() {
-    cd $pkgname-$_commit
-
-    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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
-    runhaskell Setup copy --destdir="${pkgdir}"
-    install -D -m644 "COPYING.BSD3" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
-}

Copied: ghc-mod/repos/community-x86_64/PKGBUILD (from rev 245235, ghc-mod/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-07-15 15:00:20 UTC (rev 245236)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=ghc-mod
+pkgver=5.8.0.0
+_commit=9ab25526b8690daecaa3d34a7e30f022f7b388bc
+pkgrel=23
+pkgdesc="Happy Haskell Programming"
+url="http://www.mew.org/~kazu/proj/ghc-mod/"
+license=("AGPL3")
+arch=('i686' 'x86_64')
+depends=('ghc' "cabal-helper" "haskell-djinn-ghc" "haskell-extra" "haskell-fclabels"
+         "haskell-ghc-paths" "haskell-ghc-syb-utils" "haskell-src-exts" "hlint"
+         "haskell-monad-control" "haskell-monad-journal" "haskell-mtl" "haskell-old-time"
+         "haskell-optparse-applicative" "haskell-pipes" "haskell-safe" "haskell-semigroups"
+         "haskell-split" "haskell-syb" "haskell-temporary" "haskell-text"
+         "haskell-transformers-base")
+conflicts=('haskell-ghc-mod')
+replaces=('haskell-ghc-mod')
+source=("$pkgname-$_commit.tar.gz::https://github.com/DanielG/ghc-mod/archive/$_commit.tar.gz")
+sha256sums=('75d83356999c2a1e6ea1d9c4340dcf3d260d2b462c4e9691ceb1f28385b3e70b')
+
+prepare() {
+    cd $pkgname-$_commit
+    sed -i 's/, optparse-applicative == 0.13.0.*/, optparse-applicative == 0.13.*/' ghc-mod.cabal
+}
+
+build() {
+    cd $pkgname-$_commit
+    
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+        --dynlibdir=/usr/lib --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() {
+    cd $pkgname-$_commit
+
+    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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m644 "COPYING.BSD3" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
+}



More information about the arch-commits mailing list