[arch-commits] Commit in nushell/repos/community-x86_64 (4 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Tue Feb 8 01:55:45 UTC 2022
Date: Tuesday, February 8, 2022 @ 01:55:45
Author: grawlinson
Revision: 1128971
archrelease: copy trunk to community-x86_64
Added:
nushell/repos/community-x86_64/PKGBUILD
(from rev 1128970, nushell/trunk/PKGBUILD)
nushell/repos/community-x86_64/nushell.install
(from rev 1128970, nushell/trunk/nushell.install)
Deleted:
nushell/repos/community-x86_64/PKGBUILD
nushell/repos/community-x86_64/nushell.install
-----------------+
PKGBUILD | 128 +++++++++++++++++++++++++++---------------------------
nushell.install | 24 +++++-----
2 files changed, 76 insertions(+), 76 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-08 01:54:58 UTC (rev 1128970)
+++ PKGBUILD 2022-02-08 01:55:45 UTC (rev 1128971)
@@ -1,64 +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.43.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='4e8e03867c87307d536369a20dbe81491666ee51'
-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 \
- -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 1128970, nushell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-08 01:55:45 UTC (rev 1128971)
@@ -0,0 +1,64 @@
+# 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.44.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='a660720b6889eab2fa3153854b0a367172c3821d'
+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 \
+ -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 2022-02-08 01:54:58 UTC (rev 1128970)
+++ nushell.install 2022-02-08 01:55:45 UTC (rev 1128971)
@@ -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 1128970, nushell/trunk/nushell.install)
===================================================================
--- nushell.install (rev 0)
+++ nushell.install 2022-02-08 01:55:45 UTC (rev 1128971)
@@ -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