[arch-commits] Commit in haskell-typed-process/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Sun May 20 18:32:45 UTC 2018


    Date: Sunday, May 20, 2018 @ 18:32:44
  Author: felixonmars
Revision: 325524

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-typed-process/repos/community-staging-x86_64/PKGBUILD
    (from rev 325523, haskell-typed-process/trunk/PKGBUILD)
Deleted:
  haskell-typed-process/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-20 18:32:22 UTC (rev 325523)
+++ PKGBUILD	2018-05-20 18:32:44 UTC (rev 325524)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=typed-process
-pkgname=haskell-typed-process
-pkgver=0.2.2.0
-pkgrel=3
-pkgdesc="Run external processes, with strong typing of streams"
-url="https://haskell-lang.org/library/typed-process"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-async')
-makedepends=('ghc' 'haskell-base64-bytestring' 'haskell-hspec' 'haskell-temporary')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('acd0efe0b04fff8138b96e03e3946374ced7adc9cff517866733c9c833dd48cc540c4f67a56ea9a0aaaf7438f08ecdeceb4fe29066a594befa2f40f3f130eb5c')
-
-build() {
-    cd "${srcdir}/${_hkgname}-${pkgver}"
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
-        --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
-}
-
-check() {
-    cd $_hkgname-$pkgver
-    runhaskell Setup test
-}
-
-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"
-}

Copied: haskell-typed-process/repos/community-staging-x86_64/PKGBUILD (from rev 325523, haskell-typed-process/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-20 18:32:44 UTC (rev 325524)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=typed-process
+pkgname=haskell-typed-process
+pkgver=0.2.2.0
+pkgrel=4
+pkgdesc="Run external processes, with strong typing of streams"
+url="https://haskell-lang.org/library/typed-process"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-async')
+makedepends=('ghc' 'haskell-base64-bytestring' 'haskell-hspec' 'haskell-temporary')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('acd0efe0b04fff8138b96e03e3946374ced7adc9cff517866733c9c833dd48cc540c4f67a56ea9a0aaaf7438f08ecdeceb4fe29066a594befa2f40f3f130eb5c')
+
+build() {
+    cd "${srcdir}/${_hkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+        --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
+}
+
+check() {
+    cd $_hkgname-$pkgver
+    runhaskell Setup test
+}
+
+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