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

Felix Yan felixonmars at archlinux.org
Wed Nov 8 19:49:44 UTC 2017


    Date: Wednesday, November 8, 2017 @ 19:49:37
  Author: felixonmars
Revision: 265754

archrelease: copy trunk to community-x86_64

Added:
  haskell-microlens-aeson/repos/community-x86_64/PKGBUILD
    (from rev 265753, haskell-microlens-aeson/trunk/PKGBUILD)
Deleted:
  haskell-microlens-aeson/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-08 19:48:49 UTC (rev 265753)
+++ PKGBUILD	2017-11-08 19:49:37 UTC (rev 265754)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=microlens-aeson
-pkgname=haskell-microlens-aeson
-pkgver=2.2.0.1
-pkgrel=19
-pkgdesc="Law-abiding lenses for Aeson, using microlens"
-url="http://github.com/fosskers/microlens-aeson/"
-license=('MIT')
-arch=('i686' 'x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-microlens' 'haskell-scientific'
-         'haskell-text' 'haskell-unordered-containers' 'haskell-vector')
-makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('a62398c2d8b3e55d8e054d437b110094cb73cb9ba22fe96bbe9c272c039b9991858a64ca92c407c73ec6ef2ff46664ed1d98b3417126ab5ef89ba368d0aaec46')
-
-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}"
-    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}

Copied: haskell-microlens-aeson/repos/community-x86_64/PKGBUILD (from rev 265753, haskell-microlens-aeson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-08 19:49:37 UTC (rev 265754)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=microlens-aeson
+pkgname=haskell-microlens-aeson
+pkgver=2.2.0.2
+pkgrel=1
+pkgdesc="Law-abiding lenses for Aeson, using microlens"
+url="https://github.com/fosskers/microlens-aeson/"
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-attoparsec' 'haskell-microlens' 'haskell-scientific'
+         'haskell-text' 'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('debb55f5c66e873cd64712f2e82bcee920db14aaba0fe1f282c1c0209e9db86b2a1a18b6081ac94361a70e5aed1dbb76edc129bfc19609f2454c8d5c7bcba1cb')
+
+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}"
+    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