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

George Rawlinson grawlinson at gemini.archlinux.org
Tue Dec 28 23:24:05 UTC 2021


    Date: Tuesday, December 28, 2021 @ 23:24:05
  Author: grawlinson
Revision: 1086516

archrelease: copy trunk to community-x86_64

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

-----------------+
 PKGBUILD        |  117 +++++++++++++++++++++++++++---------------------------
 nushell.install |   24 +++++------
 2 files changed, 71 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-28 23:23:51 UTC (rev 1086515)
+++ PKGBUILD	2021-12-28 23:24:05 UTC (rev 1086516)
@@ -1,58 +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.41.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=('rust')
-install="$pkgname.install"
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nushell/nushell/archive/$pkgver.tar.gz")
-sha512sums=('3f9c87f96e61bb98dfca3db5258a508843d76ec0fee443e1f2eab0c452ae0249bd2393a34bee04b128db4fac507c3d19cfe9ef41e3b74429954f1de8df9d5131')
-b2sums=('a3c73fc5123a80895b3cc1cefb4d9f940b2c93f50a543c6d10c4bed8baedeb4f92b3d5c32a2fc41fb82ce0e029876bb294ed743f42ad7e7fb5ef4d0b785adfb8')
-
-# NOTE: as of 0.40.0, upstream uses upx to reduce binary size, but this strips
-# RELRO + PIE, so we do not enable this
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  cargo build --release --frozen --workspace --features=extra
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  cargo test --frozen --workspace --features=extra
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  # binaries
-  find target/release \
-    -maxdepth 1 \
-    -executable \
-    -type f \
-    -exec install -vDm755 -t "$pkgdir/usr/bin" "{}" +
-
-  # remove binaries not present in upstream releases
-  rm -f "$pkgdir/usr/bin/table"
-  rm -f "$pkgdir/usr/bin/"nu_plugin_{core,extra}_*
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md
-  cp -vr docs/* "$pkgdir/usr/share/doc/$pkgname"
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: nushell/repos/community-x86_64/PKGBUILD (from rev 1086514, nushell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-28 23:24:05 UTC (rev 1086516)
@@ -0,0 +1,59 @@
+# 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.42.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=('rust')
+options=('!lto')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nushell/nushell/archive/$pkgver.tar.gz")
+sha512sums=('d68bc66241fc08e98f528e5f244650d9d7f74d38692f49f1cb9a4c0e5de80ba5fae5dd7be50dea92a0912657776fee84266bd8a1943c4ee8ff13432be21073cb')
+b2sums=('f2a08ad466da41b850cf57413bf65ffcd728b8e5069a8b90bb8c03a5aa2c9e1c7e43383820ee848f024eb64c533abd189f444bb5739f2becc139a3e7aec07caa')
+
+# NOTE: as of 0.40.0, upstream uses upx to reduce binary size, but this strips
+# RELRO + PIE, so we do not enable this
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --release --frozen --workspace --features=extra
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --frozen --workspace --features=extra
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binaries
+  find target/release \
+    -maxdepth 1 \
+    -executable \
+    -type f \
+    -exec install -vDm755 -t "$pkgdir/usr/bin" "{}" +
+
+  # remove binaries not present in upstream releases
+  rm -f "$pkgdir/usr/bin/table"
+  rm -f "$pkgdir/usr/bin/"nu_plugin_{core,extra}_*
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md
+  cp -vr docs/* "$pkgdir/usr/share/doc/$pkgname"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Deleted: nushell.install
===================================================================
--- nushell.install	2021-12-28 23:23:51 UTC (rev 1086515)
+++ nushell.install	2021-12-28 23:24:05 UTC (rev 1086516)
@@ -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 1086515, nushell/trunk/nushell.install)
===================================================================
--- nushell.install	                        (rev 0)
+++ nushell.install	2021-12-28 23:24:05 UTC (rev 1086516)
@@ -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