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

Felix Yan felixonmars at archlinux.org
Tue Aug 11 13:42:12 UTC 2020


    Date: Tuesday, August 11, 2020 @ 13:42:11
  Author: felixonmars
Revision: 674526

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-11 13:42:02 UTC (rev 674525)
+++ PKGBUILD	2020-08-11 13:42:11 UTC (rev 674526)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=splitmix
-pkgname=haskell-splitmix
-pkgver=0.1.0.1
-pkgrel=1
-pkgdesc="Fast Splittable PRNG"
-url="https://github.com/phadej/splitmix"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc' 'haskell-async' 'haskell-base-compat' 'haskell-base-compat-batteries'
-             'haskell-hunit' 'haskell-math-functions' 'haskell-test-framework'
-             'haskell-test-framework-hunit' 'haskell-tf-random' 'haskell-vector')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('488742d696a8770c3055a1711aeedc36ff39f2f544ee676842e6f64833e467b48f2231c46a3b82200e2a4e0a1b935d57f51902c03d68a1c0a50d6576b6d0e359')
-
-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
-    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-splitmix/repos/community-staging-x86_64/PKGBUILD (from rev 674525, haskell-splitmix/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-11 13:42:11 UTC (rev 674526)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=splitmix
+pkgname=haskell-splitmix
+pkgver=0.1.0.1
+pkgrel=2
+pkgdesc="Fast Splittable PRNG"
+url="https://github.com/phadej/splitmix"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-async' 'haskell-base-compat' 'haskell-base-compat-batteries'
+             'haskell-hunit' 'haskell-math-functions' 'haskell-test-framework'
+             'haskell-test-framework-hunit' 'haskell-tf-random' 'haskell-vector')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('488742d696a8770c3055a1711aeedc36ff39f2f544ee676842e6f64833e467b48f2231c46a3b82200e2a4e0a1b935d57f51902c03d68a1c0a50d6576b6d0e359')
+
+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
+    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