[arch-commits] Commit in haskell-tidal/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Thu Apr 28 10:02:50 UTC 2022
Date: Thursday, April 28, 2022 @ 10:02:50
Author: dvzrv
Revision: 1191531
upgpkg: haskell-tidal 1.8.0-1: Upgrade to 1.8.0.
Remove unneeded quotes and curly braces.
Minor cleanups and simplifications.
Modified:
haskell-tidal/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-28 09:59:19 UTC (rev 1191530)
+++ PKGBUILD 2022-04-28 10:02:50 UTC (rev 1191531)
@@ -2,8 +2,8 @@
_name=Tidal
pkgname=haskell-tidal
-pkgver=1.7.10
-pkgrel=21
+pkgver=1.8.0
+pkgrel=1
pkgdesc="A domain specific language for live coding pattern."
arch=(x86_64)
url="https://tidalcycles.org/"
@@ -17,26 +17,27 @@
optdepends=('sc3-plugins: Examples using special UGens')
conflicts=(tidalcycles)
replaces=(tidalcycles)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tidalcycles/${_name}/archive/refs/tags/${pkgver}.tar.gz")
-sha512sums=('0bf201e2344788f09c603163021213f40df016d1575c5ef44c9a0b23377d55290c771d268c291377fbb5b9c46cf1a49866e7dbf4a3e8eb9c0d6837b678bb1961')
-b2sums=('51da728947966d282584bc8280fbfaeef822ba39b6bfdd99439fc3391aef582002703fa62a0e6990ede4786e69fb0c8fe4b5539efe82a3cb78fe5c5f4e74f547')
+source=($pkgname-$pkgver.tar.gz::https://github.com/tidalcycles/$_name/archive/refs/tags/v$pkgver.tar.gz)
+sha512sums=('e29622009bbe1e527d3df16cc78fc03fdc33a1c35e230f4138cc54eb226bf36dee998250241227eab89ca8b2c991e6f801de33871848a0b1b10d7e7f6a72ee60')
+b2sums=('102266e464f48195421b08e53f78b506d3b9be41a10e0c6c922d84adac4dce0fd3bee8f8080df82c8ede3346a924dab7adb0785b11a82db17fc5f2e3551e0eb9')
prepare() {
- mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
- uusi -u hosc $pkgname-$pkgver/tidal.cabal
+ uusi -u hosc $_name-$pkgver/tidal.cabal
}
build() {
- cd "$pkgname-$pkgver"
+ cd $_name-$pkgver
runhaskell Setup configure -O \
--enable-shared \
--enable-executable-dynamic \
--disable-library-vanilla \
--prefix=/usr \
- --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+ --docdir=/usr/share/doc/$pkgname \
+ --datasubdir=$pkgname \
--enable-tests \
--dynlibdir=/usr/lib \
- --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
+ --libsubdir=\$compiler/site-local/\$pkgid \
+ --ghc-option=-fllvm
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
@@ -45,13 +46,13 @@
}
check() {
- cd "$pkgname-$pkgver"
+ cd $_name-$pkgver
runhaskell Setup test --show-details=direct
}
package() {
- cd "$pkgname-$pkgver"
- runhaskell Setup copy --destdir="${pkgdir}"
+ cd $_name-$pkgver
+ runhaskell Setup copy --destdir="$pkgdir"
install -vDm 744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh"
install -vDm 744 unregister.sh "$pkgdir/usr/share/haskell/unregister/$pkgname.sh"
}
More information about the arch-commits
mailing list