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

Felix Yan felixonmars at archlinux.org
Mon May 21 16:19:50 UTC 2018


    Date: Monday, May 21, 2018 @ 16:19:49
  Author: felixonmars
Revision: 326322

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-api-data/repos/community-staging-x86_64/PKGBUILD
    (from rev 326321, haskell-http-api-data/trunk/PKGBUILD)
Deleted:
  haskell-http-api-data/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-21 16:19:27 UTC (rev 326321)
+++ PKGBUILD	2018-05-21 16:19:49 UTC (rev 326322)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=http-api-data
-pkgname=haskell-http-api-data
-pkgver=0.3.8.1
-pkgrel=11
-pkgdesc="Converting to/from HTTP API data like URL pieces, headers and query parameters."
-url="https://github.com/fizruk/http-api-data"
-license=("custom:BSD3")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-attoparsec-iso8601' 'haskell-hashable'
-         'haskell-http-types' 'haskell-time-locale-compat'
-         'haskell-unordered-containers' 'haskell-uri-bytestring' 'haskell-uuid-types')
-makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hspec' 'haskell-hunit'
-             'haskell-quickcheck' 'haskell-quickcheck-instances')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('7fdb041dc95aa0b197af3e38a5270a8355d1aa7fe3c295234951bcb5592a5ab233c18c4b6f5da8f24ffbcddc477241138ae3c8b7225a5418200826bb114eb769')
-
-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 \
-            -f-use-text-show
-    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" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-http-api-data/repos/community-staging-x86_64/PKGBUILD (from rev 326321, haskell-http-api-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-21 16:19:49 UTC (rev 326322)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=http-api-data
+pkgname=haskell-http-api-data
+pkgver=0.3.8.1
+pkgrel=12
+pkgdesc="Converting to/from HTTP API data like URL pieces, headers and query parameters."
+url="https://github.com/fizruk/http-api-data"
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-attoparsec-iso8601' 'haskell-hashable'
+         'haskell-http-types' 'haskell-time-locale-compat'
+         'haskell-unordered-containers' 'haskell-uri-bytestring' 'haskell-uuid-types')
+makedepends=('ghc' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hspec' 'haskell-hunit'
+             'haskell-quickcheck' 'haskell-quickcheck-instances')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('7fdb041dc95aa0b197af3e38a5270a8355d1aa7fe3c295234951bcb5592a5ab233c18c4b6f5da8f24ffbcddc477241138ae3c8b7225a5418200826bb114eb769')
+
+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 \
+            -f-use-text-show
+    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" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list