[arch-commits] Commit in haskell-tasty-quickcheck/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Jun 2 07:49:37 UTC 2018
Date: Saturday, June 2, 2018 @ 07:49:36
Author: felixonmars
Revision: 337198
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-tasty-quickcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 337197, haskell-tasty-quickcheck/trunk/PKGBUILD)
Deleted:
haskell-tasty-quickcheck/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-02 07:49:20 UTC (rev 337197)
+++ PKGBUILD 2018-06-02 07:49:36 UTC (rev 337198)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=tasty-quickcheck
-pkgname=haskell-tasty-quickcheck
-pkgver=0.10
-pkgrel=9
-pkgdesc="QuickCheck support for the Tasty test framework."
-url="http://documentup.com/feuerbach/tasty"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-optparse-applicative' 'haskell-quickcheck' 'haskell-random'
- 'haskell-tagged' 'haskell-tasty')
-makedepends=('ghc' 'haskell-tasty-hunit' 'haskell-pcre-light')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('dd6c4b41fa6a98c61f2f650c7e2a6b45ed5778f894bb92c531cccfca914752d0065d767719c1c466af1f2a565b8cebfc5968e835282b13e372b753e690ad1728')
-
-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-tasty-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 337197, haskell-tasty-quickcheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-02 07:49:36 UTC (rev 337198)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=tasty-quickcheck
+pkgname=haskell-tasty-quickcheck
+pkgver=0.10
+pkgrel=10
+pkgdesc="QuickCheck support for the Tasty test framework."
+url="http://documentup.com/feuerbach/tasty"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-optparse-applicative' 'haskell-quickcheck' 'haskell-random'
+ 'haskell-tagged' 'haskell-tasty')
+makedepends=('ghc' 'haskell-tasty-hunit' 'haskell-pcre-light')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('dd6c4b41fa6a98c61f2f650c7e2a6b45ed5778f894bb92c531cccfca914752d0065d767719c1c466af1f2a565b8cebfc5968e835282b13e372b753e690ad1728')
+
+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