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

Felix Yan felixonmars at gemini.archlinux.org
Sun May 15 03:20:50 UTC 2022


    Date: Sunday, May 15, 2022 @ 03:20:49
  Author: felixonmars
Revision: 1205967

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD
    (from rev 1205966, haskell-clash-lib/trunk/PKGBUILD)
Deleted:
  haskell-clash-lib/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-15 03:20:36 UTC (rev 1205966)
+++ PKGBUILD	2022-05-15 03:20:49 UTC (rev 1205967)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=clash-lib
-pkgname=haskell-clash-lib
-pkgver=1.6.1
-pkgrel=16
-pkgdesc="Clash: a functional hardware description language - As a library"
-url="https://clash-lang.org/"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-ansi-terminal' 'haskell-async'
-         'haskell-attoparsec' 'haskell-base16-bytestring' 'haskell-clash-prelude'
-         'haskell-concurrent-supply' 'haskell-cryptohash-sha256' 'haskell-data-binary-ieee754'
-         'haskell-data-default' 'haskell-dlist' 'haskell-extra' 'haskell-ghc' 'haskell-glob'
-         'haskell-hashable' 'haskell-src-meta' 'haskell-hint' 'haskell-interpolate' 'haskell-lens'
-         'haskell-ordered-containers' 'haskell-pretty-show' 'haskell-prettyprinter'
-         'haskell-primitive' 'haskell-stringsearch' 'haskell-temporary' 'haskell-terminal-size'
-         'haskell-trifecta' 'haskell-unordered-containers' 'haskell-vector'
-         'haskell-vector-binary-instances' 'haskell-yaml')
-makedepends=('ghc' 'haskell-ghc-typelits-knownnat' 'haskell-quickcheck-text' 'haskell-src-exts'
-             'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha512sums=('0e92170df5bf0f4c67327d7d8a54645d4bba4f9f16ced610dfabc85b70a3babe4e431894c1035e8a73860fa24b5cbe75b355a6273ec0f1cd709e7916661484fa')
-
-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-clash-lib/repos/community-staging-x86_64/PKGBUILD (from rev 1205966, haskell-clash-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-15 03:20:49 UTC (rev 1205967)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=clash-lib
+pkgname=haskell-clash-lib
+pkgver=1.6.1
+pkgrel=17
+pkgdesc="Clash: a functional hardware description language - As a library"
+url="https://clash-lang.org/"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-ansi-terminal' 'haskell-async'
+         'haskell-attoparsec' 'haskell-base16-bytestring' 'haskell-clash-prelude'
+         'haskell-concurrent-supply' 'haskell-cryptohash-sha256' 'haskell-data-binary-ieee754'
+         'haskell-data-default' 'haskell-dlist' 'haskell-extra' 'haskell-ghc' 'haskell-glob'
+         'haskell-hashable' 'haskell-src-meta' 'haskell-hint' 'haskell-interpolate' 'haskell-lens'
+         'haskell-ordered-containers' 'haskell-pretty-show' 'haskell-prettyprinter'
+         'haskell-primitive' 'haskell-stringsearch' 'haskell-temporary' 'haskell-terminal-size'
+         'haskell-trifecta' 'haskell-unordered-containers' 'haskell-vector'
+         'haskell-vector-binary-instances' 'haskell-yaml')
+makedepends=('ghc' 'haskell-ghc-typelits-knownnat' 'haskell-quickcheck-text' 'haskell-src-exts'
+             'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('0e92170df5bf0f4c67327d7d8a54645d4bba4f9f16ced610dfabc85b70a3babe4e431894c1035e8a73860fa24b5cbe75b355a6273ec0f1cd709e7916661484fa')
+
+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