[arch-commits] Commit in haskell-cabal-doctest/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 7 12:17:10 UTC 2017
Date: Thursday, December 7, 2017 @ 12:17:09
Author: felixonmars
Revision: 272988
archrelease: copy trunk to community-x86_64
Added:
haskell-cabal-doctest/repos/community-x86_64/PKGBUILD
(from rev 272987, haskell-cabal-doctest/trunk/PKGBUILD)
Deleted:
haskell-cabal-doctest/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-07 12:16:43 UTC (rev 272987)
+++ PKGBUILD 2017-12-07 12:17:09 UTC (rev 272988)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=cabal-doctest
-pkgname=haskell-cabal-doctest
-pkgver=1.0.3
-pkgrel=2
-pkgdesc="A Setup.hs helper for doctests running"
-url="https://github.com/phadej/cabal-doctest"
-license=("custom:BSD3")
-arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('f416f67d91cf9164513aa9b54272267660f2f15f543f2875c603e4c698ad39f9ae7fd16876548d53cace691e55aaef45e2575f14a16cf733726f766f370e55ce')
-
-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
- 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-cabal-doctest/repos/community-x86_64/PKGBUILD (from rev 272987, haskell-cabal-doctest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-07 12:17:09 UTC (rev 272988)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=cabal-doctest
+pkgname=haskell-cabal-doctest
+pkgver=1.0.4
+pkgrel=1
+pkgdesc="A Setup.hs helper for doctests running"
+url="https://github.com/phadej/cabal-doctest"
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('c468f7776a0dde8531b7e47af6f8722e73b0108d69393c7d859f162219aa5f730ec4159b474d643eb918dd40e53efce1f6f0a4b0eb97e32203af08f764e3ea0b')
+
+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
+ 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