[arch-commits] Commit in haskell-tasty-hedgehog/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Jan 25 07:47:01 UTC 2022
Date: Tuesday, January 25, 2022 @ 07:47:00
Author: felixonmars
Revision: 1115248
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-tasty-hedgehog/repos/community-staging-x86_64/PKGBUILD
(from rev 1115247, haskell-tasty-hedgehog/trunk/PKGBUILD)
Deleted:
haskell-tasty-hedgehog/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-25 07:46:50 UTC (rev 1115247)
+++ PKGBUILD 2022-01-25 07:47:00 UTC (rev 1115248)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=tasty-hedgehog
-pkgname=haskell-tasty-hedgehog
-pkgver=1.1.0.0
-pkgrel=86
-pkgdesc="Integration for tasty and hedgehog"
-url="https://github.com/qfpl/tasty-hedgehog"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hedgehog' 'haskell-tagged' 'haskell-tasty')
-makedepends=('ghc')
-checkdepends=('haskell-tasty-expected-failure')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('48dda3dda14241f8d8dc77acf61a0fe77887c835ae9de6182c9fe580bb79e98f2480a14c282ff49b1438ffab197812262529e90dcec2af3785713f218490bce2')
-
-build() {
- cd $_hkgname-$pkgver
-
- if (( CHECKFUNC )); then
- _opts=('--enable-tests')
- else
- _opts=('--disable-tests')
- fi
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
- runhaskell Setup build $MAKEFLAGS
- 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 --show-details=direct
-}
-
-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 1115247, haskell-tasty-hedgehog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-25 07:47:00 UTC (rev 1115248)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=tasty-hedgehog
+pkgname=haskell-tasty-hedgehog
+pkgver=1.1.0.0
+pkgrel=87
+pkgdesc="Integration for tasty and hedgehog"
+url="https://github.com/qfpl/tasty-hedgehog"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hedgehog' 'haskell-tagged' 'haskell-tasty')
+makedepends=('ghc')
+checkdepends=('haskell-tasty-expected-failure')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('48dda3dda14241f8d8dc77acf61a0fe77887c835ae9de6182c9fe580bb79e98f2480a14c282ff49b1438ffab197812262529e90dcec2af3785713f218490bce2')
+
+build() {
+ cd $_hkgname-$pkgver
+
+ if (( CHECKFUNC )); then
+ _opts=('--enable-tests')
+ else
+ _opts=('--disable-tests')
+ fi
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
+ runhaskell Setup build $MAKEFLAGS
+ 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 --show-details=direct
+}
+
+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