[arch-commits] Commit in haskell-tasty-golden/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 27 15:35:02 UTC 2019
Date: Monday, May 27, 2019 @ 15:35:01
Author: felixonmars
Revision: 471545
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-tasty-golden/repos/community-staging-x86_64/PKGBUILD
(from rev 471544, haskell-tasty-golden/trunk/PKGBUILD)
Deleted:
haskell-tasty-golden/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-27 15:34:48 UTC (rev 471544)
+++ PKGBUILD 2019-05-27 15:35:01 UTC (rev 471545)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=tasty-golden
-pkgname=haskell-tasty-golden
-pkgver=2.3.2
-pkgrel=25
-pkgdesc="Golden tests support for tasty"
-url="https://github.com/feuerbach/tasty-golden"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' "haskell-tasty" "haskell-optparse-applicative" "haskell-temporary"
- "haskell-tagged" "haskell-async")
-makedepends=('ghc' 'haskell-tasty-hunit')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('6947a6e9368be82ae8b59843a179c26a01ce49b67729a8c2844dd3c76a66d9fa69b9569912a72256ab98e233f58d70a9c7f53b9c0c333a2ea932726c875b223d')
-
-prepare() {
- cd $_hkgname-$pkgver
- sed -i 's/temporary-rc/temporary/' ${_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 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}
Copied: haskell-tasty-golden/repos/community-staging-x86_64/PKGBUILD (from rev 471544, haskell-tasty-golden/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-27 15:35:01 UTC (rev 471545)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=tasty-golden
+pkgname=haskell-tasty-golden
+pkgver=2.3.2
+pkgrel=26
+pkgdesc="Golden tests support for tasty"
+url="https://github.com/feuerbach/tasty-golden"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-tasty" "haskell-optparse-applicative" "haskell-temporary"
+ "haskell-tagged" "haskell-async")
+makedepends=('ghc' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('6947a6e9368be82ae8b59843a179c26a01ce49b67729a8c2844dd3c76a66d9fa69b9569912a72256ab98e233f58d70a9c7f53b9c0c333a2ea932726c875b223d')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/temporary-rc/temporary/' ${_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 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list