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

Felix Yan felixonmars at archlinux.org
Mon May 21 14:42:52 UTC 2018


    Date: Monday, May 21, 2018 @ 14:42:51
  Author: felixonmars
Revision: 326185

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-tasty/repos/community-staging-x86_64/PKGBUILD
    (from rev 326184, haskell-tasty/trunk/PKGBUILD)
Deleted:
  haskell-tasty/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-21 14:42:17 UTC (rev 326184)
+++ PKGBUILD	2018-05-21 14:42:51 UTC (rev 326185)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=tasty
-pkgname=haskell-tasty
-pkgver=1.0.1.1
-pkgrel=3
-pkgdesc="Modern and extensible testing framework"
-url="http://documentup.com/feuerbach/tasty"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-async' 'haskell-clock'
-         'haskell-optparse-applicative' 'haskell-tagged' 'haskell-unbounded-delays')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('2ab43155f81403e5067707faab2ef3656eea9f9ac9f7f0ca5335e7309844b903b08b9a062d57d14480e1f69e326d349e5129f7d1449708dcd1e1cf4968d8fdc3')
-
-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 \
-            -fclock
-    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"
-}

Copied: haskell-tasty/repos/community-staging-x86_64/PKGBUILD (from rev 326184, haskell-tasty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-21 14:42:51 UTC (rev 326185)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=tasty
+pkgname=haskell-tasty
+pkgver=1.0.1.1
+pkgrel=4
+pkgdesc="Modern and extensible testing framework"
+url="http://documentup.com/feuerbach/tasty"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-async' 'haskell-clock'
+         'haskell-optparse-applicative' 'haskell-tagged' 'haskell-unbounded-delays')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('2ab43155f81403e5067707faab2ef3656eea9f9ac9f7f0ca5335e7309844b903b08b9a062d57d14480e1f69e326d349e5129f7d1449708dcd1e1cf4968d8fdc3')
+
+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 \
+            -fclock
+    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