[arch-commits] Commit in haskell-monad-logger/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 21 16:18:21 UTC 2018
Date: Monday, May 21, 2018 @ 16:18:21
Author: felixonmars
Revision: 326320
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-monad-logger/repos/community-staging-x86_64/PKGBUILD
(from rev 326319, haskell-monad-logger/trunk/PKGBUILD)
Deleted:
haskell-monad-logger/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-21 16:17:54 UTC (rev 326319)
+++ PKGBUILD 2018-05-21 16:18:21 UTC (rev 326320)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=monad-logger
-pkgname=haskell-monad-logger
-pkgver=0.3.28.5
-pkgrel=10
-pkgdesc="A class of monads which can log messages."
-url="https://github.com/kazu-yamamoto/logger"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-exceptions'
- 'haskell-fast-logger' 'haskell-lifted-base' 'haskell-monad-control' 'haskell-monad-loops'
- 'haskell-resourcet' 'haskell-stm-chans'
- 'haskell-transformers-base' 'haskell-transformers-compat' 'haskell-unliftio-core')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('4f56d9ba95a0681c691f5189806f0f8150f35b4346323fb182ef3af7b5892def15f533da21f49b8f722252dcfc4757db2e4a8c3605eacd16a95d924b1a731595')
-
-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 \
- -ftemplate_haskell
- 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-monad-logger/repos/community-staging-x86_64/PKGBUILD (from rev 326319, haskell-monad-logger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-21 16:18:21 UTC (rev 326320)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=monad-logger
+pkgname=haskell-monad-logger
+pkgver=0.3.28.5
+pkgrel=11
+pkgdesc="A class of monads which can log messages."
+url="https://github.com/kazu-yamamoto/logger"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-exceptions'
+ 'haskell-fast-logger' 'haskell-lifted-base' 'haskell-monad-control' 'haskell-monad-loops'
+ 'haskell-resourcet' 'haskell-stm-chans'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 'haskell-unliftio-core')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('4f56d9ba95a0681c691f5189806f0f8150f35b4346323fb182ef3af7b5892def15f533da21f49b8f722252dcfc4757db2e4a8c3605eacd16a95d924b1a731595')
+
+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 \
+ -ftemplate_haskell
+ 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