[arch-commits] Commit in haskell-quickcheck/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Mar 31 15:25:20 UTC 2020
Date: Tuesday, March 31, 2020 @ 15:25:20
Author: felixonmars
Revision: 608120
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 608119, 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 2020-03-31 15:25:11 UTC (rev 608119)
+++ PKGBUILD 2020-03-31 15:25:20 UTC (rev 608120)
@@ -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
-pkgrel=1
-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=('400ec89b1852f2825eb1c6aadec9a3c5f8b284f12a6701277a6940bd7bf4560e635cea86eb6134e39be7c20b3afaa7c76e604c53249e7030bc47ee14099e6180')
-
-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 \
- -ftemplateHaskell
-
- 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
-}
-
-# vim: ts=2 sw=2 et:
Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 608119, haskell-quickcheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-31 15:25:20 UTC (rev 608120)
@@ -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
+pkgrel=2
+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=('400ec89b1852f2825eb1c6aadec9a3c5f8b284f12a6701277a6940bd7bf4560e635cea86eb6134e39be7c20b3afaa7c76e604c53249e7030bc47ee14099e6180')
+
+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 \
+ -ftemplateHaskell
+
+ 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
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list