[arch-commits] Commit in nushell/repos/community-x86_64 (4 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Tue Dec 7 20:03:52 UTC 2021
Date: Tuesday, December 7, 2021 @ 20:03:51
Author: grawlinson
Revision: 1065565
archrelease: copy trunk to community-x86_64
Added:
nushell/repos/community-x86_64/PKGBUILD
(from rev 1065564, nushell/trunk/PKGBUILD)
nushell/repos/community-x86_64/nushell.install
(from rev 1065564, nushell/trunk/nushell.install)
Deleted:
nushell/repos/community-x86_64/PKGBUILD
nushell/repos/community-x86_64/nushell.install
-----------------+
PKGBUILD | 116 +++++++++++++++++++++++++++---------------------------
nushell.install | 24 +++++------
2 files changed, 70 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-07 20:03:03 UTC (rev 1065564)
+++ PKGBUILD 2021-12-07 20:03:51 UTC (rev 1065565)
@@ -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.40.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=('83e8382a524699bb8bca03b1262a4943eba9acd0e4855deb3556f03bbc53c643b4697dc7ffb09e9d9d05326d14f4101b793fea7f39bcb68ba10b532873a08daa')
-b2sums=('fe469a3bec4ea439bdfc064a770d50e589327e6e02a4611142103e0f49073ab827973afac11856cf281b229d9e820e7df3acb97d2c951191d008a0aa2c427635')
-
-# 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 1065564, nushell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-07 20:03:51 UTC (rev 1065565)
@@ -0,0 +1,58 @@
+# 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
+}
Deleted: nushell.install
===================================================================
--- nushell.install 2021-12-07 20:03:03 UTC (rev 1065564)
+++ nushell.install 2021-12-07 20:03:51 UTC (rev 1065565)
@@ -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 1065564, nushell/trunk/nushell.install)
===================================================================
--- nushell.install (rev 0)
+++ nushell.install 2021-12-07 20:03:51 UTC (rev 1065565)
@@ -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