[arch-commits] Commit in haskell-tasty-hedgehog/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Sun May 20 12:56:22 UTC 2018
Date: Sunday, May 20, 2018 @ 12:56:21
Author: felixonmars
Revision: 325251
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-tasty-hedgehog/repos/community-staging-x86_64/PKGBUILD
(from rev 325250, haskell-tasty-hedgehog/trunk/PKGBUILD)
Deleted:
haskell-tasty-hedgehog/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-20 12:55:59 UTC (rev 325250)
+++ PKGBUILD 2018-05-20 12:56:21 UTC (rev 325251)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=tasty-hedgehog
-pkgname=haskell-tasty-hedgehog
-pkgver=0.2.0.0
-pkgrel=12
-pkgdesc="Integration for tasty and hedgehog"
-url="https://github.com/qfpl/tasty-hedgehog"
-license=('custom:BSD3')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hedgehog' 'haskell-tagged' 'haskell-tasty')
-makedepends=('ghc' 'haskell-tasty-expected-failure')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('ff6eb79e8a1a0d3307b6888fd19fa243591120af3c04ce4318e59846b9165847ebf3162cfca1f80ffbbe532a130235d0a413949c7b2ed0b45838716ded33673b')
-
-prepare() {
- cd $_hkgname-$pkgver
- sed -i 's/<.*4.11/<5/' $_hkgname.cabal
-}
-
-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 "LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
-}
Copied: haskell-tasty-hedgehog/repos/community-staging-x86_64/PKGBUILD (from rev 325250, haskell-tasty-hedgehog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-20 12:56:21 UTC (rev 325251)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=tasty-hedgehog
+pkgname=haskell-tasty-hedgehog
+pkgver=0.2.0.0
+pkgrel=13
+pkgdesc="Integration for tasty and hedgehog"
+url="https://github.com/qfpl/tasty-hedgehog"
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hedgehog' 'haskell-tagged' 'haskell-tasty')
+makedepends=('ghc' 'haskell-tasty-expected-failure')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('ff6eb79e8a1a0d3307b6888fd19fa243591120af3c04ce4318e59846b9165847ebf3162cfca1f80ffbbe532a130235d0a413949c7b2ed0b45838716ded33673b')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i -e 's/<.*4.11/<5/' -e 's/<.*0.6/<1/' $_hkgname.cabal
+}
+
+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 "LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE"
+}
More information about the arch-commits
mailing list