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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 15:23:06 UTC 2017


    Date: Saturday, September 23, 2017 @ 15:23:05
  Author: felixonmars
Revision: 260013

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

Added:
  haskell-monadrandom/repos/community-i686/PKGBUILD
    (from rev 260012, haskell-monadrandom/trunk/PKGBUILD)
  haskell-monadrandom/repos/community-x86_64/PKGBUILD
    (from rev 260012, haskell-monadrandom/trunk/PKGBUILD)
Deleted:
  haskell-monadrandom/repos/community-i686/PKGBUILD
  haskell-monadrandom/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   86 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   46 -----------------------
 community-x86_64/PKGBUILD |   46 -----------------------
 3 files changed, 86 insertions(+), 92 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-09-23 15:22:21 UTC (rev 260012)
+++ community-i686/PKGBUILD	2017-09-23 15:23:05 UTC (rev 260013)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=MonadRandom
-pkgname=haskell-monadrandom
-pkgver=0.5.1
-pkgrel=4
-pkgdesc="Random-number generation monad."
-url="https://hackage.haskell.org/package/${_hkgname}"
-license=("custom")
-arch=('i686' 'x86_64')
-depends=('ghc-libs' "haskell-mtl" "haskell-primitive" "haskell-random" "haskell-transformers-compat")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('9e3f0f92807285302036dc504066ae6d968c8b0b4c25d9360888f31fe1730d87')
-
-prepare() {
-    sed -i '/fail/d' ${_hkgname}-${pkgver}/${_hkgname}.cabal
-}
-
-build() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-    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}/${_hkgname}-${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}"
-    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: haskell-monadrandom/repos/community-i686/PKGBUILD (from rev 260012, haskell-monadrandom/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-09-23 15:23:05 UTC (rev 260013)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=MonadRandom
+pkgname=haskell-monadrandom
+pkgver=0.5.1
+pkgrel=5
+pkgdesc="Random-number generation monad."
+url="https://hackage.haskell.org/package/${_hkgname}"
+license=("custom")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-mtl" "haskell-primitive" "haskell-random" "haskell-transformers-compat")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('2653531795f07b5d4cd54fe6313858bfff0f1bafc50677b7be2922f466cb5fa370bfd3ca3cb1c7a187af617599b476b2b8c76a2de03821211e53ef3f39b473bf')
+
+prepare() {
+    sed -i '/fail/d' ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
+build() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    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}/${_hkgname}-${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}"
+    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-09-23 15:22:21 UTC (rev 260012)
+++ community-x86_64/PKGBUILD	2017-09-23 15:23:05 UTC (rev 260013)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=MonadRandom
-pkgname=haskell-monadrandom
-pkgver=0.5.1
-pkgrel=4
-pkgdesc="Random-number generation monad."
-url="https://hackage.haskell.org/package/${_hkgname}"
-license=("custom")
-arch=('i686' 'x86_64')
-depends=('ghc-libs' "haskell-mtl" "haskell-primitive" "haskell-random" "haskell-transformers-compat")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('9e3f0f92807285302036dc504066ae6d968c8b0b4c25d9360888f31fe1730d87')
-
-prepare() {
-    sed -i '/fail/d' ${_hkgname}-${pkgver}/${_hkgname}.cabal
-}
-
-build() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-    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}/${_hkgname}-${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}"
-    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: haskell-monadrandom/repos/community-x86_64/PKGBUILD (from rev 260012, haskell-monadrandom/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-09-23 15:23:05 UTC (rev 260013)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=MonadRandom
+pkgname=haskell-monadrandom
+pkgver=0.5.1
+pkgrel=5
+pkgdesc="Random-number generation monad."
+url="https://hackage.haskell.org/package/${_hkgname}"
+license=("custom")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-mtl" "haskell-primitive" "haskell-random" "haskell-transformers-compat")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('2653531795f07b5d4cd54fe6313858bfff0f1bafc50677b7be2922f466cb5fa370bfd3ca3cb1c7a187af617599b476b2b8c76a2de03821211e53ef3f39b473bf')
+
+prepare() {
+    sed -i '/fail/d' ${_hkgname}-${pkgver}/${_hkgname}.cabal
+}
+
+build() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    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}/${_hkgname}-${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}"
+    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list