[arch-commits] Commit in haskell-chell-quickcheck/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 27 14:09:54 UTC 2019
Date: Monday, May 27, 2019 @ 14:09:54
Author: felixonmars
Revision: 471363
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-chell-quickcheck/repos/community-staging-x86_64/PKGBUILD
(from rev 471362, haskell-chell-quickcheck/trunk/PKGBUILD)
Deleted:
haskell-chell-quickcheck/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-27 14:09:41 UTC (rev 471362)
+++ PKGBUILD 2019-05-27 14:09:54 UTC (rev 471363)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=chell-quickcheck
-pkgname=haskell-chell-quickcheck
-pkgver=0.2.5.2
-pkgrel=6
-pkgdesc="QuickCheck support for the Chell testing library"
-url="https://github.com/typeclasses/chell"
-license=('MIT')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-chell' 'haskell-quickcheck' 'haskell-random')
-makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('d17b8aeb19adc08debdfccaeceabb480fcbf82ba47c5e805f326f26be8c3266b741c52ab1ab13042b13aaa865ae355812ff067f3a46ff8186cef232143fa8efa')
-
-prepare() {
- cd $_hkgname-$pkgver
- sed -i 's/< *2.13/<3/' $_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 \
- --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
-}
-
-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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
-}
Copied: haskell-chell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 471362, haskell-chell-quickcheck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-27 14:09:54 UTC (rev 471363)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=chell-quickcheck
+pkgname=haskell-chell-quickcheck
+pkgver=0.2.5.2
+pkgrel=7
+pkgdesc="QuickCheck support for the Chell testing library"
+url="https://github.com/typeclasses/chell"
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-chell' 'haskell-quickcheck' 'haskell-random')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('d17b8aeb19adc08debdfccaeceabb480fcbf82ba47c5e805f326f26be8c3266b741c52ab1ab13042b13aaa865ae355812ff067f3a46ff8186cef232143fa8efa')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i 's/< *2.13/<3/' $_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 \
+ --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
+}
+
+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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}
More information about the arch-commits
mailing list