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

Felix Yan felixonmars at archlinux.org
Sat Mar 13 15:07:01 UTC 2021


    Date: Saturday, March 13, 2021 @ 15:07:01
  Author: felixonmars
Revision: 890296

archrelease: copy trunk to community-x86_64

Added:
  haskell-clash-prelude/repos/community-x86_64/PKGBUILD
    (from rev 890295, haskell-clash-prelude/trunk/PKGBUILD)
Deleted:
  haskell-clash-prelude/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-13 15:06:49 UTC (rev 890295)
+++ PKGBUILD	2021-03-13 15:07:01 UTC (rev 890296)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=clash-prelude
-pkgname=haskell-clash-prelude
-pkgver=1.2.5
-pkgrel=82
-pkgdesc="CAES Language for Synchronous Hardware - Prelude library"
-url="https://github.com/clash-lang/clash-prelude"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-bifunctors' 'haskell-constraints' 'haskell-data-binary-ieee754'
-         'haskell-data-default-class' 'haskell-ghc-typelits-extra' 'haskell-ghc-typelits-knownnat'
-         'haskell-ghc-typelits-natnormalise' 'haskell-half' 'haskell-hashable'
-         'haskell-interpolate' 'haskell-lens' 'haskell-quickcheck' 'haskell-recursion-schemes'
-         'haskell-reflection' 'haskell-singletons' 'haskell-th-abstraction' 'haskell-th-lift'
-         'haskell-text-show' 'haskell-th-orphans' 'haskell-type-errors' 'haskell-uniplate'
-         'haskell-vector')
-makedepends=('ghc' 'uusi' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hedgehog'
-             'haskell-hint' 'haskell-quickcheck-classes-base' 'haskell-tasty'
-             'haskell-tasty-hedgehog' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('54d11ab7a126f55afbacab12a2b8d33d1489942c16fe5e1a02ea6e7826894569b720f5922e168b8219b6b4dd41bbba45bee375bcf21e7b1084455c4325bd7c4c')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    uusi -u doctest $_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
-    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
-    # TODO
-    runhaskell Setup test || echo "Tests failed"
-}
-
-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-clash-prelude/repos/community-x86_64/PKGBUILD (from rev 890295, haskell-clash-prelude/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-13 15:07:01 UTC (rev 890296)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=clash-prelude
+pkgname=haskell-clash-prelude
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Clash: a functional hardware description language - Prelude library"
+url="https://github.com/clash-lang/clash-prelude"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-arrows' 'haskell-bifunctors' 'haskell-constraints'
+         'haskell-data-binary-ieee754' 'haskell-data-default-class' 'haskell-ghc-typelits-extra'
+         'haskell-ghc-typelits-knownnat' 'haskell-ghc-typelits-natnormalise' 'haskell-half'
+         'haskell-hashable' 'haskell-interpolate' 'haskell-lens' 'haskell-quickcheck'
+         'haskell-recursion-schemes' 'haskell-reflection' 'haskell-singletons'
+         'haskell-th-abstraction' 'haskell-th-lift' 'haskell-text-show' 'haskell-th-orphans'
+         'haskell-type-errors' 'haskell-uniplate' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-cabal-doctest' 'haskell-doctest' 'haskell-hedgehog'
+             'haskell-hint' 'haskell-quickcheck-classes-base' 'haskell-tasty'
+             'haskell-tasty-hedgehog' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck'
+             'haskell-tasty-th')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('7260c3137890c2b307150eb47e07e35f39fb9c02c35d0e718069b2b887a51715dc2bb1f6a4dd0c20981e078ebf2b219a7b0310e3e000f9ae3a6fb3f71bea8785')
+
+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
+    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
+    # TODO
+    runhaskell Setup test || echo "Tests failed"
+}
+
+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