[arch-commits] Commit in nushell/repos/community-x86_64 (4 files)

George Rawlinson grawlinson at gemini.archlinux.org
Tue Apr 12 23:28:13 UTC 2022


    Date: Tuesday, April 12, 2022 @ 23:28:13
  Author: grawlinson
Revision: 1186012

archrelease: copy trunk to community-x86_64

Added:
  nushell/repos/community-x86_64/PKGBUILD
    (from rev 1186011, nushell/trunk/PKGBUILD)
  nushell/repos/community-x86_64/nushell.install
    (from rev 1186011, nushell/trunk/nushell.install)
Deleted:
  nushell/repos/community-x86_64/PKGBUILD
  nushell/repos/community-x86_64/nushell.install

-----------------+
 PKGBUILD        |  120 +++++++++++++++++++++++++++---------------------------
 nushell.install |   24 +++++-----
 2 files changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-12 23:27:21 UTC (rev 1186011)
+++ PKGBUILD	2022-04-12 23:28:13 UTC (rev 1186012)
@@ -1,60 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor:  KokaKiwi <kokakiwi+aur at kokakiwi.net>
-# Contributor: Felix Golatofski <contact at xdfr.de>
-# Contributor: Bumsik Kim <k.bumsik at gmail.com>
-
-pkgname=nushell
-pkgver=0.60.0
-pkgrel=1
-pkgdesc="A new type of shell"
-arch=('x86_64')
-url="https://www.nushell.sh"
-license=('MIT')
-depends=('openssl' 'libxcb' 'libx11' 'curl' 'bzip2')
-makedepends=('git' 'rust')
-options=('!lto')
-install="$pkgname.install"
-_commit='74af31a42ff4feb8d5d9897c0d99c7434678a315'
-source=("$pkgname::git+https://github.com/nushell/nushell.git#commit=$_commit")
-b2sums=('SKIP')
-
-# NOTE: as of 0.40.0, upstream uses upx to reduce binary size, but this strips
-# RELRO + PIE, so we do not enable this
-
-pkgver() {
-  cd "$pkgname"
-  git describe --tags
-}
-
-prepare() {
-  cd "$pkgname"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname"
-  cargo build --release --frozen --workspace --features=extra
-}
-
-check() {
-  cd "$pkgname"
-  cargo test --frozen --workspace --features=extra
-}
-
-package() {
-  cd "$pkgname"
-
-  # binaries
-  find target/release \
-    -maxdepth 1 \
-    -executable \
-    -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
-}

Copied: nushell/repos/community-x86_64/PKGBUILD (from rev 1186011, nushell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-12 23:28:13 UTC (rev 1186012)
@@ -0,0 +1,60 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor:  KokaKiwi <kokakiwi+aur at kokakiwi.net>
+# Contributor: Felix Golatofski <contact at xdfr.de>
+# Contributor: Bumsik Kim <k.bumsik at gmail.com>
+
+pkgname=nushell
+pkgver=0.61.0
+pkgrel=1
+pkgdesc="A new type of shell"
+arch=('x86_64')
+url="https://www.nushell.sh"
+license=('MIT')
+depends=('openssl' 'libxcb' 'libx11' 'curl' 'bzip2')
+makedepends=('git' 'rust')
+options=('!lto')
+install="$pkgname.install"
+_commit='3783c19d02f4a3b2f35cd26b79daabcb70b04880'
+source=("$pkgname::git+https://github.com/nushell/nushell.git#commit=$_commit")
+b2sums=('SKIP')
+
+# NOTE: as of 0.40.0, upstream uses upx to reduce binary size, but this strips
+# RELRO + PIE, so we do not enable this
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags
+}
+
+prepare() {
+  cd "$pkgname"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname"
+  cargo build --release --frozen --workspace --features=extra
+}
+
+check() {
+  cd "$pkgname"
+  cargo test --frozen --workspace --features=extra
+}
+
+package() {
+  cd "$pkgname"
+
+  # binaries
+  find target/release \
+    -maxdepth 1 \
+    -executable \
+    -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
+}

Deleted: nushell.install
===================================================================
--- nushell.install	2022-04-12 23:27:21 UTC (rev 1186011)
+++ nushell.install	2022-04-12 23:28:13 UTC (rev 1186012)
@@ -1,12 +0,0 @@
-post_install() {
-  grep -Fqx /bin/nu /etc/shells || echo /bin/nu >> /etc/shells
-  grep -Fqx /usr/bin/nu /etc/shells || echo /usr/bin/nu >> /etc/shells
-}
-
-post_upgrade() {
-  post_install
-}
-
-pre_remove() {
-  sed -i -r '/^(\/usr)?\/bin\/nu$/d' etc/shells
-}

Copied: nushell/repos/community-x86_64/nushell.install (from rev 1186011, nushell/trunk/nushell.install)
===================================================================
--- nushell.install	                        (rev 0)
+++ nushell.install	2022-04-12 23:28:13 UTC (rev 1186012)
@@ -0,0 +1,12 @@
+post_install() {
+  grep -Fqx /bin/nu /etc/shells || echo /bin/nu >> /etc/shells
+  grep -Fqx /usr/bin/nu /etc/shells || echo /usr/bin/nu >> /etc/shells
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  sed -i -r '/^(\/usr)?\/bin\/nu$/d' etc/shells
+}



More information about the arch-commits mailing list