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

Felix Yan felixonmars at archlinux.org
Wed Feb 5 09:03:33 UTC 2020


    Date: Wednesday, February 5, 2020 @ 09:03:33
  Author: felixonmars
Revision: 562917

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-hspec-megaparsec/repos/community-staging-x86_64/PKGBUILD
    (from rev 562916, haskell-hspec-megaparsec/trunk/PKGBUILD)
Deleted:
  haskell-hspec-megaparsec/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-05 09:03:17 UTC (rev 562916)
+++ PKGBUILD	2020-02-05 09:03:33 UTC (rev 562917)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=hspec-megaparsec
-pkgname=haskell-hspec-megaparsec
-pkgver=2.0.1
-pkgrel=14
-pkgdesc="Utility functions for testing Megaparsec parsers with Hspec"
-url="https://github.com/goldfirere/hspec-megaparsec"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hspec-expectations' 'haskell-megaparsec')
-makedepends=('ghc' 'haskell-hspec')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('758994fccc31b03bb0bec281aa522b83ef0f1c08ab9baeaefbdb2a3e9ab4be51adf5ec839935538379cdfb6b4bfdfc834f8b485cbbd073ea5aff4fbdbfbeed0f')
-
-build() {
-    cd $_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 $_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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
-}

Copied: haskell-hspec-megaparsec/repos/community-staging-x86_64/PKGBUILD (from rev 562916, haskell-hspec-megaparsec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-05 09:03:33 UTC (rev 562917)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=hspec-megaparsec
+pkgname=haskell-hspec-megaparsec
+pkgver=2.0.1
+pkgrel=15
+pkgdesc="Utility functions for testing Megaparsec parsers with Hspec"
+url="https://github.com/goldfirere/hspec-megaparsec"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-expectations' 'haskell-megaparsec')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('758994fccc31b03bb0bec281aa522b83ef0f1c08ab9baeaefbdb2a3e9ab4be51adf5ec839935538379cdfb6b4bfdfc834f8b485cbbd073ea5aff4fbdbfbeed0f')
+
+build() {
+    cd $_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 $_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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}



More information about the arch-commits mailing list