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

Felix Yan felixonmars at archlinux.org
Tue Dec 29 20:59:11 UTC 2020


    Date: Tuesday, December 29, 2020 @ 20:59:09
  Author: felixonmars
Revision: 798207

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-math-functions/repos/community-staging-x86_64/PKGBUILD
    (from rev 798206, haskell-math-functions/trunk/PKGBUILD)
Deleted:
  haskell-math-functions/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-29 20:58:53 UTC (rev 798206)
+++ PKGBUILD	2020-12-29 20:59:09 UTC (rev 798207)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=math-functions
-pkgname=haskell-math-functions
-pkgver=0.3.4.1
-pkgrel=59
-pkgdesc="Special functions and Chebyshev polynomials"
-url="https://github.com/bos/math-functions"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-data-default-class' "haskell-primitive" "haskell-vector")
-makedepends=('ghc' 'haskell-erf' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
-             'haskell-tasty-quickcheck' 'haskell-vector-th-unbox')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('e87a50f10e1afc08acc3900983dcfe85eb46563260c0b52a73ac44c9d83b903dbf3cd59ba0b96f8d4dafc3ff5bb70fb47d04cb8a7a2aec42545096d4a86c2d34')
-
-build() {
-    cd $_hkgname-$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 "${_opts[@]}" \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -f-system-expm1
-    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
-}
-
-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
-}

Copied: haskell-math-functions/repos/community-staging-x86_64/PKGBUILD (from rev 798206, haskell-math-functions/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-29 20:59:09 UTC (rev 798207)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=math-functions
+pkgname=haskell-math-functions
+pkgver=0.3.4.1
+pkgrel=60
+pkgdesc="Special functions and Chebyshev polynomials"
+url="https://github.com/bos/math-functions"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default-class' "haskell-primitive" "haskell-vector")
+makedepends=('ghc' 'haskell-erf' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit'
+             'haskell-tasty-quickcheck' 'haskell-vector-th-unbox')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('e87a50f10e1afc08acc3900983dcfe85eb46563260c0b52a73ac44c9d83b903dbf3cd59ba0b96f8d4dafc3ff5bb70fb47d04cb8a7a2aec42545096d4a86c2d34')
+
+build() {
+    cd $_hkgname-$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 "${_opts[@]}" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-system-expm1
+    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
+}
+
+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