[arch-commits] Commit in haskell-retry/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 15 01:05:49 UTC 2022
Date: Sunday, May 15, 2022 @ 01:05:48
Author: felixonmars
Revision: 1205453
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-retry/repos/community-staging-x86_64/PKGBUILD
(from rev 1205452, haskell-retry/trunk/PKGBUILD)
Deleted:
haskell-retry/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 01:05:32 UTC (rev 1205452)
+++ PKGBUILD 2022-05-15 01:05:48 UTC (rev 1205453)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=retry
-pkgname=haskell-retry
-pkgver=0.9.2.0
-pkgrel=14
-pkgdesc="Retry combinators for monadic actions that may fail"
-url="https://github.com/Soostone/retry"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-random')
-makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hunit' 'haskell-tasty' 'haskell-tasty-hunit'
- 'haskell-tasty-hedgehog')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('988378429aaf6c9679366d9134e30393f74be00fd8352b704f14a75e3d49a34d627e299a029329ef0197374dc64c9f32c251739d033e7dff16e896c6a13cf83d')
-
-prepare() {
- cd $_hkgname-$pkgver
- uusi -d mtl-compat $_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 --datasubdir=$pkgname --enable-tests \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
- -f-lib-werror
- 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 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}
Copied: haskell-retry/repos/community-staging-x86_64/PKGBUILD (from rev 1205452, haskell-retry/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 01:05:48 UTC (rev 1205453)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=retry
+pkgname=haskell-retry
+pkgver=0.9.2.0
+pkgrel=15
+pkgdesc="Retry combinators for monadic actions that may fail"
+url="https://github.com/Soostone/retry"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-random')
+makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hunit' 'haskell-tasty' 'haskell-tasty-hunit'
+ 'haskell-tasty-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('988378429aaf6c9679366d9134e30393f74be00fd8352b704f14a75e3d49a34d627e299a029329ef0197374dc64c9f32c251739d033e7dff16e896c6a13cf83d')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ uusi -d mtl-compat $_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 --datasubdir=$pkgname --enable-tests \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+ -f-lib-werror
+ 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 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list