[arch-commits] Commit in haskell-clash-prelude/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 15 03:07:20 UTC 2022
Date: Sunday, May 15, 2022 @ 03:07:20
Author: felixonmars
Revision: 1205897
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-clash-prelude/repos/community-staging-x86_64/PKGBUILD
(from rev 1205896, haskell-clash-prelude/trunk/PKGBUILD)
Deleted:
haskell-clash-prelude/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-15 03:07:03 UTC (rev 1205896)
+++ PKGBUILD 2022-05-15 03:07:20 UTC (rev 1205897)
@@ -1,57 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=clash-prelude
-pkgname=haskell-clash-prelude
-pkgver=1.6.1
-pkgrel=12
-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-constraints' 'haskell-data-binary-ieee754'
- 'haskell-data-default-class' 'haskell-extra' '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-th-orphans' 'haskell-type-errors'
- 'haskell-uniplate' 'haskell-vector')
-makedepends=('ghc' 'uusi' 'haskell-doctest-parallel' '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=('362274232a9afb85acfacb9563af3837c9b81c5a7ec7dc42884192f533971ca16ea4b4fd0eafdbe05d2a2805085d3c25c6bb2927c13beba7af5a3effdfff429e')
-
-prepare() {
- cd $_hkgname-$pkgver
- uusi -u hedgehog $_hkgname.cabal
- gen-setup
-}
-
-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
- 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 --show-details=direct || warning "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-staging-x86_64/PKGBUILD (from rev 1205896, haskell-clash-prelude/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 03:07:20 UTC (rev 1205897)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=clash-prelude
+pkgname=haskell-clash-prelude
+pkgver=1.6.1
+pkgrel=13
+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-constraints' 'haskell-data-binary-ieee754'
+ 'haskell-data-default-class' 'haskell-extra' '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-th-orphans' 'haskell-type-errors'
+ 'haskell-uniplate' 'haskell-vector')
+makedepends=('ghc' 'uusi' 'haskell-doctest-parallel' '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=('362274232a9afb85acfacb9563af3837c9b81c5a7ec7dc42884192f533971ca16ea4b4fd0eafdbe05d2a2805085d3c25c6bb2927c13beba7af5a3effdfff429e')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ uusi -u hedgehog $_hkgname.cabal
+ gen-setup
+}
+
+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
+ 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 --show-details=direct || warning "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