[arch-commits] Commit in haskell-quickcheck-instances/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 6 11:42:34 UTC 2020
Date: Friday, November 6, 2020 @ 11:42:33
Author: felixonmars
Revision: 744045
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-quickcheck-instances/repos/community-staging-x86_64/
haskell-quickcheck-instances/repos/community-staging-x86_64/PKGBUILD
(from rev 744044, haskell-quickcheck-instances/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: haskell-quickcheck-instances/repos/community-staging-x86_64/PKGBUILD (from rev 744044, haskell-quickcheck-instances/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-06 11:42:33 UTC (rev 744045)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=quickcheck-instances
+pkgname=haskell-quickcheck-instances
+pkgver=0.3.25
+pkgrel=2
+pkgdesc="Common quickcheck instances"
+url="https://github.com/haskellari/qc-instances"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-case-insensitive' 'haskell-data-fix'
+ 'haskell-hashable' 'haskell-integer-logarithms' 'haskell-old-time' 'haskell-scientific'
+ 'haskell-splitmix' 'haskell-strict' 'haskell-tagged' 'haskell-these'
+ 'haskell-time-compat' 'haskell-transformers-compat' 'haskell-unordered-containers'
+ 'haskell-uuid-types' 'haskell-vector')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('656fdc8f35eb079f89577968e2a61230a7e7a4652049664d83126efe6dcc0aeb3a943a5fcf23deb8de65eaf13ec4b1cebed5915b9cb8987cb6394048214be79b')
+
+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 \
+ -f-bytestring-builder
+ 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
+}
+
+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