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

Felix Yan felixonmars at archlinux.org
Sun May 20 18:03:13 UTC 2018


    Date: Sunday, May 20, 2018 @ 18:03:13
  Author: felixonmars
Revision: 325484

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-20 18:02:50 UTC (rev 325483)
+++ PKGBUILD	2018-05-20 18:03:13 UTC (rev 325484)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas Dziedzic <gostrc at gmail.com>
-
-_hkgname=foundation
-pkgname=haskell-foundation
-pkgver=0.0.20
-pkgrel=5
-pkgdesc="Alternative prelude with batteries and no dependencies"
-url="https://github.com/haskell-foundation/foundation"
-license=('custom:BSD3')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-basement')
-makedepends=('ghc' 'haskell-doctest')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('283a0e2ce0165d531d17f0c0f14e72b843c67a809d5c7bde4280b23103b30d919c5ddf0cd09918129171ea79d34ad83abfcd3aac9e24d9803595d08cea6aba22')
-
-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-experimental -f-minimal-deps -f-doctest -flinktest -f-bounds-check
-    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-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 325483, haskell-foundation/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-20 18:03:13 UTC (rev 325484)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.20
+pkgrel=6
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation"
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('283a0e2ce0165d531d17f0c0f14e72b843c67a809d5c7bde4280b23103b30d919c5ddf0cd09918129171ea79d34ad83abfcd3aac9e24d9803595d08cea6aba22')
+
+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-experimental -f-minimal-deps -f-doctest -flinktest -f-bounds-check
+    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