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

Felix Yan felixonmars at archlinux.org
Sat May 19 14:15:35 UTC 2018


    Date: Saturday, May 19, 2018 @ 14:15:34
  Author: felixonmars
Revision: 324615

archrelease: copy trunk to community-staging-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-19 14:15:15 UTC (rev 324614)
+++ PKGBUILD	2018-05-19 14:15:34 UTC (rev 324615)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=pointed
-pkgname=haskell-pointed
-pkgver=5.0.1
-pkgrel=17
-pkgdesc="Pointed and copointed data"
-url="https://github.com/ekmett/pointed/"
-license=("custom:BSD3")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-comonad' 'haskell-data-default-class' 'haskell-hashable'
-         'haskell-kan-extensions' 'haskell-semigroupoids' 'haskell-semigroups'
-         'haskell-tagged' 'haskell-transformers-compat' 'haskell-unordered-containers')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('65958628c983a2c2866b1a1a615c7a7f2f516068c667ce9b93f4214b863632b40eba4915d49e07388c52ced8868bb308b24e7b38a6f50563c68954696748c99b')
-
-build() {
-    cd $_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 \
-            -fcomonad -fcontainers -fkan-extensions -fsemigroupoids -fsemigroups \
-            -fstm -ftagged -ftransformers -funordered-containers
-    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 $_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-pointed/repos/community-staging-x86_64/PKGBUILD (from rev 324614, haskell-pointed/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-19 14:15:34 UTC (rev 324615)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=pointed
+pkgname=haskell-pointed
+pkgver=5.0.1
+pkgrel=18
+pkgdesc="Pointed and copointed data"
+url="https://github.com/ekmett/pointed/"
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-comonad' 'haskell-data-default-class' 'haskell-hashable'
+         'haskell-kan-extensions' 'haskell-semigroupoids' 'haskell-tagged'
+         'haskell-transformers-compat' 'haskell-unordered-containers')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('65958628c983a2c2866b1a1a615c7a7f2f516068c667ce9b93f4214b863632b40eba4915d49e07388c52ced8868bb308b24e7b38a6f50563c68954696748c99b')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+    cd $_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 \
+            -fcomonad -fcontainers -fkan-extensions -fsemigroupoids -fsemigroups \
+            -fstm -ftagged -ftransformers -funordered-containers
+    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 $_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