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

Felix Yan felixonmars at gemini.archlinux.org
Thu Jan 13 23:32:31 UTC 2022


    Date: Thursday, January 13, 2022 @ 23:32:31
  Author: felixonmars
Revision: 1103071

archrelease: copy trunk to community-x86_64

Added:
  haskell-broadcast-chan/repos/community-x86_64/PKGBUILD
    (from rev 1103070, haskell-broadcast-chan/trunk/PKGBUILD)
Deleted:
  haskell-broadcast-chan/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-13 23:32:23 UTC (rev 1103070)
+++ PKGBUILD	2022-01-13 23:32:31 UTC (rev 1103071)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=broadcast-chan
-pkgname=haskell-broadcast-chan
-pkgver=0.2.1.1
-pkgrel=8
-pkgdesc="Closable, fair, single-wakeup channel type that avoids 0 reader space leaks"
-url="https://github.com/merijn/broadcast-chan"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-unliftio-core')
-makedepends=('ghc' 'uusi')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('0484a81b5bfc53ad9513f97bf0c0fe6e1b894eac19dcd1cdf7bbd67930ac21dd702b70a78460bf3518ebadfb27cf03cd0d57200ef868803dd69d26f0fd880eb7')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    uusi -u base $_hkgname.cabal
-}
-
-build() {
-    cd $_hkgname-$pkgver    
-    
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
-        --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 $_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-broadcast-chan/repos/community-x86_64/PKGBUILD (from rev 1103070, haskell-broadcast-chan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-13 23:32:31 UTC (rev 1103071)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=broadcast-chan
+pkgname=haskell-broadcast-chan
+pkgver=0.2.1.2
+pkgrel=1
+pkgdesc="Closable, fair, single-wakeup channel type that avoids 0 reader space leaks"
+url="https://github.com/merijn/broadcast-chan"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-unliftio-core')
+makedepends=('ghc' 'uusi')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('23a1c664577b9da5dcd33c99dc3c67bfee7560788c21e3a0565b5f505674129204064d7b90f2c55d14ff56b77717822cc08c0154347167400536cef56a97f8c6')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    uusi -u base $_hkgname.cabal
+}
+
+build() {
+    cd $_hkgname-$pkgver    
+    
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+        --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 $_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
+}



More information about the arch-commits mailing list