[arch-commits] Commit in haskell-shelly/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Dec 13 00:15:13 UTC 2017


    Date: Wednesday, December 13, 2017 @ 00:15:12
  Author: felixonmars
Revision: 274031

archrelease: copy trunk to community-x86_64

Added:
  haskell-shelly/repos/community-x86_64/PKGBUILD
    (from rev 274030, haskell-shelly/trunk/PKGBUILD)
Deleted:
  haskell-shelly/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-13 00:14:49 UTC (rev 274030)
+++ PKGBUILD	2017-12-13 00:15:12 UTC (rev 274031)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=shelly
-pkgname=haskell-shelly
-pkgver=1.6.9
-pkgrel=2
-pkgdesc="Shell-like (systems) programming in Haskell"
-url="https://github.com/yesodweb/Shelly.hs"
-license=("custom:BSD3")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-mtl' 'haskell-unix-compat' 'haskell-system-filepath'
-         'haskell-system-fileio' 'haskell-monad-control' 'haskell-lifted-base'
-         'haskell-lifted-async' 'haskell-exceptions' 'haskell-enclosed-exceptions' 'haskell-text'
-         'haskell-async' 'haskell-transformers-base')
-makedepends=('ghc' 'haskell-hunit' 'haskell-hspec')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('1fd4912ebfe3f1a0e1968b0ac00b6baec2cc335d111c11a48889b41bafd67ef9c27a6405357ad6101e598f8a897a5869500ac596dc7197c19418011d96b0e1a3')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    mkdir test/data/{dir,symlinked_dir}
-    ln -s ../symlinked_dir test/data/dir/
-    touch test/data/symlinked_dir/hoge_file
-}
-
-build() {
-    cd "${srcdir}/${_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-lifted -f-build-examples
-    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 "${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-shelly/repos/community-x86_64/PKGBUILD (from rev 274030, haskell-shelly/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-13 00:15:12 UTC (rev 274031)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=shelly
+pkgname=haskell-shelly
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Shell-like (systems) programming in Haskell"
+url="https://github.com/yesodweb/Shelly.hs"
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-mtl' 'haskell-unix-compat' 'haskell-system-filepath'
+         'haskell-system-fileio' 'haskell-monad-control' 'haskell-lifted-base'
+         'haskell-lifted-async' 'haskell-exceptions' 'haskell-enclosed-exceptions' 'haskell-text'
+         'haskell-async' 'haskell-transformers-base')
+makedepends=('ghc' 'haskell-hunit' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('ffb0af966b43ddaec9ec03e105b1f3d02205f581063fe8971dcca9d30d3f15f1b1c23ae786203f7a1260d47e50e5c7fc110b60e52a20e442bd67b9ef3c3ff6f4')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    mkdir test/data/{dir,symlinked_dir}
+    ln -s ../symlinked_dir test/data/dir/
+    touch test/data/symlinked_dir/hoge_file
+}
+
+build() {
+    cd "${srcdir}/${_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-lifted -f-build-examples
+    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 "${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