[arch-commits] Commit in haskell-quickcheck/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Mar 11 02:45:02 UTC 2022
Date: Friday, March 11, 2022 @ 02:45:02
Author: felixonmars
Revision: 1147284
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 1147283, haskell-quickcheck/trunk/PKGBUILD)
Deleted:
haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-11 02:44:53 UTC (rev 1147283)
+++ PKGBUILD 2022-03-11 02:45:02 UTC (rev 1147284)
@@ -1,50 +0,0 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=QuickCheck
-pkgname=haskell-quickcheck
-pkgver=2.14.2
-pkgrel=273
-pkgdesc='Automatic testing of Haskell programs'
-url='https://hackage.haskell.org/package/QuickCheck'
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5')
-
-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 --ghc-option=-fllvm \
- -ftemplateHaskell
-
- 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
-}
-
-# vim: ts=2 sw=2 et:
Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 1147283, haskell-quickcheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-11 02:45:02 UTC (rev 1147284)
@@ -0,0 +1,50 @@
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vesa at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=QuickCheck
+pkgname=haskell-quickcheck
+pkgver=2.14.2
+pkgrel=274
+pkgdesc='Automatic testing of Haskell programs'
+url='https://hackage.haskell.org/package/QuickCheck'
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('84decd354e6093bc72afd125410499dd4be3ae8fdbf0a3b466011b4dbcb5c5657e51ab75cfe22790e22bf4ac54cbb1203ff7a0d108e872ce60f4831be827a6e5')
+
+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 --ghc-option=-fllvm \
+ -ftemplateHaskell
+
+ 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
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list