Date: Wednesday, August 25, 2021 @ 23:10:45
  Author: felixonmars
Revision: 1004972

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-08-25 23:10:35 UTC (rev 1004971)
+++ PKGBUILD    2021-08-25 23:10:45 UTC (rev 1004972)
@@ -1,57 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: Thomas Dziedzic <gos...@gmail.com>
-
-_hkgname=random
-pkgname=haskell-random
-pkgver=1.2.0
-pkgrel=262
-pkgdesc="Pseudo-random number generation"
-url="https://hackage.haskell.org/package/${_hkgname}";
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-splitmix')
-makedepends=('ghc' 'uusi')
-checkdepends=('haskell-doctest' 'haskell-mwc-random' 'haskell-primitive' 
'haskell-smallcheck'
-              'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-smallcheck' 
'haskell-unliftio'
-              'haskell-vector')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha512sums=('e482f318c245d87824d440885c4ecbd1c9bd85a3b3aa4d7fbb4a82da0cfd31749caa9ff7881c94b731035133fd1d550a0cb8bd4da958d3c72519bddcadc6c2e5')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    uusi -d tasty-expected-failure -u doctest -u mwc-random -u tasty 
$_hkgname.cabal
-}
-
-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 --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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: haskell-random/repos/community-staging-x86_64/PKGBUILD (from rev 
1004971, haskell-random/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-08-25 23:10:45 UTC (rev 1004972)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Thomas Dziedzic <gos...@gmail.com>
+
+_hkgname=random
+pkgname=haskell-random
+pkgver=1.2.0
+pkgrel=263
+pkgdesc="Pseudo-random number generation"
+url="https://hackage.haskell.org/package/${_hkgname}";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-splitmix')
+makedepends=('ghc' 'uusi')
+checkdepends=('haskell-doctest' 'haskell-mwc-random' 'haskell-primitive' 
'haskell-smallcheck'
+              'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-smallcheck' 
'haskell-unliftio'
+              'haskell-vector')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('e482f318c245d87824d440885c4ecbd1c9bd85a3b3aa4d7fbb4a82da0cfd31749caa9ff7881c94b731035133fd1d550a0cb8bd4da958d3c72519bddcadc6c2e5')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    uusi -d tasty-expected-failure -u doctest -u mwc-random -u tasty 
$_hkgname.cabal
+}
+
+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 --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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}

Reply via email to