[arch-commits] Commit in haskell-arithmoi/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 15 02:54:38 UTC 2022


    Date: Sunday, May 15, 2022 @ 02:54:38
  Author: felixonmars
Revision: 1205841

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-arithmoi/repos/community-staging-x86_64/PKGBUILD
    (from rev 1205840, haskell-arithmoi/trunk/PKGBUILD)
Deleted:
  haskell-arithmoi/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-15 02:54:23 UTC (rev 1205840)
+++ PKGBUILD	2022-05-15 02:54:38 UTC (rev 1205841)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=arithmoi
-pkgname=haskell-arithmoi
-pkgver=0.12.0.1
-pkgrel=68
-pkgdesc="Efficient basic number-theoretic functions."
-url="https://github.com/Bodigrim/arithmoi"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-chimera' 'haskell-constraints' 'haskell-exact-pi'
-         'haskell-integer-logarithms' 'haskell-integer-roots' 'haskell-mod' 'haskell-random'
-         'haskell-semirings' 'haskell-vector')
-makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-classes' 'haskell-smallcheck'
-             'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-tasty-rerun'
-             'haskell-tasty-smallcheck')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('e6f2e92e292ec9cf4e1cd783dbdfdbe968ed5168160fb9c4a2b3ea9ad92caaaf750c353f6ccd9234d83ba6c3430a0eebc62ea408cb7832bfc9dee6961e6823b9')
-
-prepare() {
-  cd $_hkgname-$pkgver
-  gen-setup
-}
-
-build() {
-  cd $_hkgname-$pkgver
-
-  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
-    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie'
-
-  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 -t "$pkgdir"/usr/share/licenses/$pkgname/
-  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-arithmoi/repos/community-staging-x86_64/PKGBUILD (from rev 1205840, haskell-arithmoi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-15 02:54:38 UTC (rev 1205841)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=arithmoi
+pkgname=haskell-arithmoi
+pkgver=0.12.0.1
+pkgrel=69
+pkgdesc="Efficient basic number-theoretic functions."
+url="https://github.com/Bodigrim/arithmoi"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-chimera' 'haskell-constraints' 'haskell-exact-pi'
+         'haskell-integer-logarithms' 'haskell-integer-roots' 'haskell-mod' 'haskell-random'
+         'haskell-semirings' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-quickcheck-classes' 'haskell-smallcheck'
+             'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck' 'haskell-tasty-rerun'
+             'haskell-tasty-smallcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('e6f2e92e292ec9cf4e1cd783dbdfdbe968ed5168160fb9c4a2b3ea9ad92caaaf750c353f6ccd9234d83ba6c3430a0eebc62ea408cb7832bfc9dee6961e6823b9')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  gen-setup
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie'
+
+  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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



More information about the arch-commits mailing list