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

Felix Yan felixonmars at archlinux.org
Sat May 19 11:19:30 UTC 2018


    Date: Saturday, May 19, 2018 @ 11:19:29
  Author: felixonmars
Revision: 324548

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-html-conduit/repos/community-staging-x86_64/PKGBUILD
    (from rev 324547, haskell-html-conduit/trunk/PKGBUILD)
Deleted:
  haskell-html-conduit/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-19 11:19:02 UTC (rev 324547)
+++ PKGBUILD	2018-05-19 11:19:29 UTC (rev 324548)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=html-conduit
-pkgname=haskell-html-conduit
-pkgver=1.2.1.2
-pkgrel=40
-pkgdesc="Parse HTML documents using xml-conduit datatypes"
-url="https://github.com/snoyberg/xml"
-license=('MIT')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-resourcet' 'haskell-conduit' 'haskell-conduit-extra'
-         'haskell-xml-conduit' 'haskell-tagstream-conduit' 'haskell-xml-types')
-makedepends=('ghc' 'haskell-hspec' 'haskell-hunit')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('73d66bc08dae94940485c1da27cb75ef008cde4832203bc3d10c7307af597bbad5e717d19a0ab328a6e7b716275d3f4f2e8a17dec8b5c84016921e1c2f3ce8a2')
-
-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-html-conduit/repos/community-staging-x86_64/PKGBUILD (from rev 324547, haskell-html-conduit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-19 11:19:29 UTC (rev 324548)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=html-conduit
+pkgname=haskell-html-conduit
+pkgver=1.2.1.2
+pkgrel=41
+pkgdesc="Parse HTML documents using xml-conduit datatypes"
+url="https://github.com/snoyberg/xml"
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-resourcet' 'haskell-conduit' 'haskell-conduit-extra'
+         'haskell-xml-conduit' 'haskell-tagstream-conduit' 'haskell-xml-types')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hunit')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('73d66bc08dae94940485c1da27cb75ef008cde4832203bc3d10c7307af597bbad5e717d19a0ab328a6e7b716275d3f4f2e8a17dec8b5c84016921e1c2f3ce8a2')
+
+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