Date: Tuesday, March 21, 2023 @ 10:12:25 Author: dvzrv Revision: 1424648
upgpkg: haskell-tidal 1.9.4-1: Upgrade to 1.9.4. Switch to arrays with one entry per line. Move configure options to local bash array for better handling. Modified: haskell-tidal/trunk/PKGBUILD ----------+ PKGBUILD | 52 +++++++++++++++++++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-21 10:10:36 UTC (rev 1424647) +++ PKGBUILD 2023-03-21 10:12:25 UTC (rev 1424648) @@ -2,35 +2,53 @@ _name=tidal pkgname=haskell-tidal -pkgver=1.9.3 -pkgrel=8 +pkgver=1.9.4 +pkgrel=1 pkgdesc="A domain specific language for live coding pattern." arch=(x86_64) url="https://tidalcycles.org/" license=(GPL3) groups=(pro-audio) -depends=(ghc ghc-libs glibc haskell-clock haskell-colour haskell-hosc -haskell-mwc-random haskell-network haskell-primitive haskell-random -haskell-tidal-link haskell-vector supercollider) +depends=( + ghc + ghc-libs + glibc + haskell-clock + haskell-colour + haskell-hosc + haskell-mwc-random + haskell-network + haskell-primitive + haskell-random + haskell-tidal-link + haskell-vector + supercollider +) checkdepends=(haskell-microspec) optdepends=('sc3-plugins: Examples using special UGens') conflicts=(tidalcycles) replaces=(tidalcycles) -source=("https://hackage.haskell.org/packages/archive/$_name/$pkgver/$_name-$pkgver.tar.gz") -sha512sums=('4ff1b8b1cc1318dd8965a6761da92619c82bfe90d296857ab07efe0ffea5cca23511fada95a19cf8b42a26eed0bbc53c27d260d39dcf7a8bfbfb066c2d9e1707') -b2sums=('350c62fa5b6f8e2ea9a69f6b730ffa25c68788f49141cca833f42a0a79b2d0e2ec6eaab424c1deb2043d7f1efea5e69440406c278f9e3614416246716d222972') +source=(https://hackage.haskell.org/packages/archive/$_name/$pkgver/$_name-$pkgver.tar.gz) +sha512sums=('006d4895ea6db1fd9a246c519b95416123450449903433e153f7bb6113507edb5127383ed15cfd8633b98f373d7677b40b67ca143cc443509e05dd71cf9aa54b') +b2sums=('dd5e0b6e6dae2ac3d576af600ac9da0928681ed90a0698e7d09e02e3c412575708bc2c93d2fece86e75059dec087659805b0834b353bddd551ef0bdf598dd94a') build() { + local configure_options=( + -O + --datasubdir=$pkgname + --disable-library-vanilla + --docdir=/usr/share/doc/$pkgname + --dynlibdir=/usr/lib + --enable-executable-dynamic + --enable-shared + --enable-tests + --ghc-option=-fllvm + --prefix=/usr + --libsubdir=\$compiler/site-local/\$pkgid + ) + cd $_name-$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 configure "${configure_options[@]}" runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script
