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

Felix Yan felixonmars at archlinux.org
Mon May 27 17:16:05 UTC 2019


    Date: Monday, May 27, 2019 @ 17:16:05
  Author: felixonmars
Revision: 471701

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-27 17:15:52 UTC (rev 471700)
+++ PKGBUILD	2019-05-27 17:16:05 UTC (rev 471701)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=rio
-pkgname=haskell-rio
-pkgver=0.1.9.2
-pkgrel=7
-pkgdesc="A standard library for Haskell"
-url="https://github.com/commercialhaskell/rio"
-license=('MIT')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-exceptions' 'haskell-hashable' 'haskell-microlens'
-         'haskell-primitive' 'haskell-typed-process' 'haskell-unliftio' 'haskell-unliftio-core'
-         'haskell-unordered-containers' 'haskell-vector')
-makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('701a92d93ef1527debb19e5c4886528d300e634523fb53a3c46e91bc92895b214e0109e45f7dcdb2f394d81c994376103f313d4e7b551d034b2ff0d3abde21eb')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-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
-    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-rio/repos/community-staging-x86_64/PKGBUILD (from rev 471700, haskell-rio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-27 17:16:05 UTC (rev 471701)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=rio
+pkgname=haskell-rio
+pkgver=0.1.9.2
+pkgrel=8
+pkgdesc="A standard library for Haskell"
+url="https://github.com/commercialhaskell/rio"
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-exceptions' 'haskell-hashable' 'haskell-microlens'
+         'haskell-primitive' 'haskell-typed-process' 'haskell-unliftio' 'haskell-unliftio-core'
+         'haskell-unordered-containers' 'haskell-vector')
+makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('701a92d93ef1527debb19e5c4886528d300e634523fb53a3c46e91bc92895b214e0109e45f7dcdb2f394d81c994376103f313d4e7b551d034b2ff0d3abde21eb')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+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
+    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