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

Felix Yan felixonmars at archlinux.org
Sun May 20 04:24:04 UTC 2018


    Date: Sunday, May 20, 2018 @ 04:24:04
  Author: felixonmars
Revision: 324973

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-20 04:23:42 UTC (rev 324972)
+++ PKGBUILD	2018-05-20 04:24:04 UTC (rev 324973)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=jose
-pkgname=haskell-jose
-pkgver=0.7.0.0
-pkgrel=4
-pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library"
-url="https://github.com/frasertweedale/hs-jose"
-license=("Apache")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 'haskell-concise'
-         'haskell-cryptonite' 'haskell-lens' 'haskell-memory' 'haskell-monad-time'
-         'haskell-safe' 'haskell-aeson' 'haskell-unordered-containers' 'haskell-network-uri'
-         'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-x509' 'haskell-vector')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('4250528d31e90833adbab184a98acc57fb931db74944167e346b8cda4fd659c23fd3d7d77123c7968959922c7b0af34edd00a682146a7aab19a83e4ff9c7a3ab')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i '/semigroups/d' $_hkgname.cabal
-}
-
-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
-    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}"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-jose/repos/community-staging-x86_64/PKGBUILD (from rev 324972, haskell-jose/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-20 04:24:04 UTC (rev 324973)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=jose
+pkgname=haskell-jose
+pkgver=0.7.0.0
+pkgrel=5
+pkgdesc="Javascript Object Signing and Encryption and JSON Web Token library"
+url="https://github.com/frasertweedale/hs-jose"
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 'haskell-concise'
+         'haskell-cryptonite' 'haskell-lens' 'haskell-memory' 'haskell-monad-time'
+         'haskell-safe' 'haskell-aeson' 'haskell-unordered-containers' 'haskell-network-uri'
+         'haskell-quickcheck' 'haskell-quickcheck-instances' 'haskell-x509' 'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('4250528d31e90833adbab184a98acc57fb931db74944167e346b8cda4fd659c23fd3d7d77123c7968959922c7b0af34edd00a682146a7aab19a83e4ff9c7a3ab')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+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
+    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}"
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list