Date: Wednesday, March 15, 2023 @ 09:57:52
  Author: alerque
Revision: 1420660

upgpkg: nushell 0.77.0-1

Modified:
  nushell/trunk/PKGBUILD

----------+
 PKGBUILD |   42 +++++++++++++-----------------------------
 1 file changed, 13 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-15 08:52:19 UTC (rev 1420659)
+++ PKGBUILD    2023-03-15 09:57:52 UTC (rev 1420660)
@@ -4,55 +4,43 @@
 # Contributor: Felix Golatofski <[email protected]>
 # Contributor: Bumsik Kim <[email protected]>
 
-# Upstream tests have multiple issues including race conditions, using external
-# binaries, differing results based on unrelated system directories, etc.
-# See https://github.com/nushell/nushell/issues/7951
-# See https://github.com/nushell/nushell/issues/8404
-BUILDENV+=(!check)
-
 pkgname=nushell
-pkgver=0.76.0
-_commit='bc38a6a795f438ab1465dd987adf92efd9530529'
+pkgver=0.77.0
+_commit='fd09609b44b53d41ac7929e90708cdeba7bfb571'
 pkgrel=1
 pkgdesc='A new type of shell'
 arch=('x86_64')
 url='https://www.nushell.sh'
 license=('MIT')
-depends=('openssl' 'libxcb' 'curl' 'bzip2')
-makedepends=('git' 'cargo')
-options=('!lto')
+depends=('libcrypto.so' 'libssl.so' 'zlib')
+makedepends=('cargo' 'git')
 install=nushell.install
-source=("$pkgname::git+https://github.com/nushell/nushell.git#commit=$_commit";)
-b2sums=('SKIP')
+source=("git+https://github.com/nushell/nushell.git#commit=$_commit";)
+sha256sums=('SKIP')
 
-pkgver() {
+prepare() {
   cd "$pkgname"
-
-  git describe --tags
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
 }
 
-prepare() {
+pkgver() {
   cd "$pkgname"
-
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+  git describe --tags
 }
 
 build() {
   cd "$pkgname"
-
+  CFLAGS+=" -ffat-lto-objects"
   cargo build --release --frozen --workspace --features=extra,dataframe
 }
 
 check() {
   cd "$pkgname"
-
   cargo test --frozen --workspace --features=extra,dataframe
 }
 
 package() {
   cd "$pkgname"
-
-  # binaries
   find target/release \
     -maxdepth 1 \
     -executable \
@@ -59,10 +47,6 @@
     -type f \
     -name "nu*" \
     -exec install -vDm755 -t "$pkgdir/usr/bin" "{}" +
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }

Reply via email to