[arch-commits] Commit in cabal-helper/repos (4 files)

Felix Yan felixonmars at archlinux.org
Sun Sep 24 08:40:36 UTC 2017


    Date: Sunday, September 24, 2017 @ 08:40:36
  Author: felixonmars
Revision: 260388

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

Added:
  cabal-helper/repos/community-i686/PKGBUILD
    (from rev 260387, cabal-helper/trunk/PKGBUILD)
  cabal-helper/repos/community-x86_64/PKGBUILD
    (from rev 260387, cabal-helper/trunk/PKGBUILD)
Deleted:
  cabal-helper/repos/community-i686/PKGBUILD
  cabal-helper/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   94 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   50 -----------------------
 community-x86_64/PKGBUILD |   50 -----------------------
 3 files changed, 94 insertions(+), 100 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-09-24 08:39:58 UTC (rev 260387)
+++ community-i686/PKGBUILD	2017-09-24 08:40:36 UTC (rev 260388)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=cabal-helper
-pkgver=0.7.3.0
-pkgrel=6
-pkgdesc="Simple interface to some of Cabals configuration state used by ghc-mod"
-url="https://hackage.haskell.org/package/${pkgname}"
-license=("AGPL3")
-arch=('i686' 'x86_64')
-depends=('ghc-libs' "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
-conflicts=('haskell-cabal-helper')
-replaces=('haskell-cabal-helper')
-makedepends=('ghc')
-source=('https://github.com/achirkin/cabal-helper/archive/68ceff5916f515e3026a3f40aa44570e47d50a0c.tar.gz')
-#source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
-sha256sums=('de0023c7e47be3030986a2b0e40bc5693096f2dd9a60de40c2111a29b66b0956')
-
-prepare() {
-    mv $pkgname-68ceff5916f515e3026a3f40aa44570e47d50a0c $pkgname-$pkgver
-    sed -i 's/import Distribution.Version/import Distribution.Version hiding (showVersion)/' $pkgname-$pkgver/CabalHelper/{Sandbox.hs,Compile.hs,Wrapper.hs}
-    sed -i 's/, process.*/, process/' $pkgname-$pkgver/$pkgname.cabal
-}
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --libexecdir="/usr/lib" \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-dev
-    runhaskell Setup build
-    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 "${srcdir}/${pkgname}-${pkgver}"
-
-    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-    runhaskell Setup copy --destdir="${pkgdir}"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: cabal-helper/repos/community-i686/PKGBUILD (from rev 260387, cabal-helper/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-09-24 08:40:36 UTC (rev 260388)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=cabal-helper
+pkgver=0.7.3.0
+pkgrel=7
+pkgdesc="Simple interface to some of Cabals configuration state used by ghc-mod"
+url="https://hackage.haskell.org/package/${pkgname}"
+license=("AGPL3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
+conflicts=('haskell-cabal-helper')
+replaces=('haskell-cabal-helper')
+makedepends=('ghc')
+source=('https://github.com/achirkin/cabal-helper/archive/68ceff5916f515e3026a3f40aa44570e47d50a0c.tar.gz')
+#source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+sha512sums=('bd900c8e3183ecd991a17dbb61bdc200f1ebebcfbc3374cbba4c534a829e042ad65251c7a77a492cd819764c85229e0210ae11c2597b2b7e9b5d40dcd5caa870')
+
+prepare() {
+    mv $pkgname-68ceff5916f515e3026a3f40aa44570e47d50a0c $pkgname-$pkgver
+    sed -i 's/import Distribution.Version/import Distribution.Version hiding (showVersion)/' $pkgname-$pkgver/CabalHelper/{Sandbox.hs,Compile.hs,Wrapper.hs}
+    sed -i 's/, process.*/, process/' $pkgname-$pkgver/$pkgname.cabal
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --libexecdir="/usr/lib" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-dev
+    runhaskell Setup build
+    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 "${srcdir}/${pkgname}-${pkgver}"
+
+    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-09-24 08:39:58 UTC (rev 260387)
+++ community-x86_64/PKGBUILD	2017-09-24 08:40:36 UTC (rev 260388)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=cabal-helper
-pkgver=0.7.3.0
-pkgrel=6
-pkgdesc="Simple interface to some of Cabals configuration state used by ghc-mod"
-url="https://hackage.haskell.org/package/${pkgname}"
-license=("AGPL3")
-arch=('i686' 'x86_64')
-depends=('ghc-libs' "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
-conflicts=('haskell-cabal-helper')
-replaces=('haskell-cabal-helper')
-makedepends=('ghc')
-source=('https://github.com/achirkin/cabal-helper/archive/68ceff5916f515e3026a3f40aa44570e47d50a0c.tar.gz')
-#source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
-sha256sums=('de0023c7e47be3030986a2b0e40bc5693096f2dd9a60de40c2111a29b66b0956')
-
-prepare() {
-    mv $pkgname-68ceff5916f515e3026a3f40aa44570e47d50a0c $pkgname-$pkgver
-    sed -i 's/import Distribution.Version/import Distribution.Version hiding (showVersion)/' $pkgname-$pkgver/CabalHelper/{Sandbox.hs,Compile.hs,Wrapper.hs}
-    sed -i 's/, process.*/, process/' $pkgname-$pkgver/$pkgname.cabal
-}
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --libexecdir="/usr/lib" \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-dev
-    runhaskell Setup build
-    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 "${srcdir}/${pkgname}-${pkgver}"
-
-    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-    runhaskell Setup copy --destdir="${pkgdir}"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: cabal-helper/repos/community-x86_64/PKGBUILD (from rev 260387, cabal-helper/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-09-24 08:40:36 UTC (rev 260388)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=cabal-helper
+pkgver=0.7.3.0
+pkgrel=7
+pkgdesc="Simple interface to some of Cabals configuration state used by ghc-mod"
+url="https://hackage.haskell.org/package/${pkgname}"
+license=("AGPL3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-mtl" "haskell-temporary" "haskell-utf8-string")
+conflicts=('haskell-cabal-helper')
+replaces=('haskell-cabal-helper')
+makedepends=('ghc')
+source=('https://github.com/achirkin/cabal-helper/archive/68ceff5916f515e3026a3f40aa44570e47d50a0c.tar.gz')
+#source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+sha512sums=('bd900c8e3183ecd991a17dbb61bdc200f1ebebcfbc3374cbba4c534a829e042ad65251c7a77a492cd819764c85229e0210ae11c2597b2b7e9b5d40dcd5caa870')
+
+prepare() {
+    mv $pkgname-68ceff5916f515e3026a3f40aa44570e47d50a0c $pkgname-$pkgver
+    sed -i 's/import Distribution.Version/import Distribution.Version hiding (showVersion)/' $pkgname-$pkgver/CabalHelper/{Sandbox.hs,Compile.hs,Wrapper.hs}
+    sed -i 's/, process.*/, process/' $pkgname-$pkgver/$pkgname.cabal
+}
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --libexecdir="/usr/lib" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-dev
+    runhaskell Setup build
+    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 "${srcdir}/${pkgname}-${pkgver}"
+
+    install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+    install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list