[arch-commits] Commit in haskell-primitive/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sat May 14 11:06:36 UTC 2022
Date: Saturday, May 14, 2022 @ 11:06:36
Author: felixonmars
Revision: 1203788
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-primitive/repos/community-staging-x86_64/PKGBUILD
(from rev 1203787, haskell-primitive/trunk/PKGBUILD)
Deleted:
haskell-primitive/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-14 11:06:23 UTC (rev 1203787)
+++ PKGBUILD 2022-05-14 11:06:36 UTC (rev 1203788)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=haskell-primitive
-pkgver=0.7.3.0
-pkgrel=47
-pkgdesc="Wrappers for primitive operations"
-url="https://hackage.haskell.org/package/primitive"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-base-orphans' 'haskell-quickcheck' 'haskell-quickcheck-classes-base'
- 'haskell-tasty' 'haskell-tasty-quickcheck' 'haskell-tagged'
- 'haskell-transformers-compat')
-source=("https://hackage.haskell.org/packages/archive/primitive/${pkgver}/primitive-${pkgver}.tar.gz")
-sha512sums=('7fe593c24d990ce113c7dd155479b30a1c74aa9cfd10d2f0903dc185fc00d725b36d340e5eea6f1af7547d47bbde27339c56e2949e7f518674a7306ed8e56342')
-
-prepare() {
- cd primitive-$pkgver
- gen-setup
-}
-
-build() {
- cd primitive-$pkgver
-
- if (( CHECKFUNC )); then
- _opts=('--enable-tests')
- else
- _opts=('--disable-tests')
- fi
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname "${_opts[@]}" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
- 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 primitive-$pkgver
- runhaskell Setup test --show-details=direct
-}
-
-package() {
- cd primitive-$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 -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
- rm -f "$pkgdir"/usr/share/doc/${pkgname}/LICENSE
-}
Copied: haskell-primitive/repos/community-staging-x86_64/PKGBUILD (from rev 1203787, haskell-primitive/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-14 11:06:36 UTC (rev 1203788)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=haskell-primitive
+pkgver=0.7.3.0
+pkgrel=48
+pkgdesc="Wrappers for primitive operations"
+url="https://hackage.haskell.org/package/primitive"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-base-orphans' 'haskell-quickcheck' 'haskell-quickcheck-classes-base'
+ 'haskell-tasty' 'haskell-tasty-quickcheck' 'haskell-tagged'
+ 'haskell-transformers-compat')
+source=("https://hackage.haskell.org/packages/archive/primitive/${pkgver}/primitive-${pkgver}.tar.gz")
+sha512sums=('7fe593c24d990ce113c7dd155479b30a1c74aa9cfd10d2f0903dc185fc00d725b36d340e5eea6f1af7547d47bbde27339c56e2949e7f518674a7306ed8e56342')
+
+prepare() {
+ cd primitive-$pkgver
+ gen-setup
+}
+
+build() {
+ cd primitive-$pkgver
+
+ if (( CHECKFUNC )); then
+ _opts=('--enable-tests')
+ else
+ _opts=('--disable-tests')
+ fi
+
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname "${_opts[@]}" \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
+ 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 primitive-$pkgver
+ runhaskell Setup test --show-details=direct
+}
+
+package() {
+ cd primitive-$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 -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+ rm -f "$pkgdir"/usr/share/doc/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list