[arch-commits] Commit in nushell/repos/community-x86_64 (4 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Tue Aug 24 22:59:32 UTC 2021
Date: Tuesday, August 24, 2021 @ 22:59:32
Author: grawlinson
Revision: 1004686
archrelease: copy trunk to community-x86_64
Added:
nushell/repos/community-x86_64/PKGBUILD
(from rev 1004685, nushell/trunk/PKGBUILD)
nushell/repos/community-x86_64/nushell.install
(from rev 1004685, nushell/trunk/nushell.install)
Deleted:
nushell/repos/community-x86_64/PKGBUILD
nushell/repos/community-x86_64/nushell.install
-----------------+
PKGBUILD | 100 +++++++++++++++++++++++++++---------------------------
nushell.install | 24 ++++++------
2 files changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-24 22:58:20 UTC (rev 1004685)
+++ PKGBUILD 2021-08-24 22:59:32 UTC (rev 1004686)
@@ -1,50 +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.35.0
-pkgrel=3
-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")
-b2sums=('1a179cfa8e4a6bb5f7543e7a22ef2de596b5f03cb0c401e1751d525cbf7e3466704495b815a84e609cc67d99fe18f9be2b840dd5b380afd2c05667418ca9431b')
-
-prepare() {
- cd "$pkgname-$pkgver"
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- cargo build --release --all-features --frozen
-}
-
-check() {
- cd "$pkgname-$pkgver"
- cargo test --frozen --all-features
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- # binaries
- find target/release \
- -maxdepth 1 \
- -executable \
- -type f \
- -exec install -vDm755 -t "$pkgdir/usr/bin" "{}" +
-
- # 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 1004685, nushell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-24 22:59:32 UTC (rev 1004686)
@@ -0,0 +1,50 @@
+# 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.36.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")
+b2sums=('4e9fb8962c24fe03020f7dd8b168a057334ee96e25809f0678f214fc40f2c5a973d7d91723fe51e61e999b2b32b4a0670237b7f5944ef3778f8bf2f69a247d7d')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release --all-features --frozen
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ cargo test --frozen --all-features
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ # binaries
+ find target/release \
+ -maxdepth 1 \
+ -executable \
+ -type f \
+ -exec install -vDm755 -t "$pkgdir/usr/bin" "{}" +
+
+ # 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-08-24 22:58:20 UTC (rev 1004685)
+++ nushell.install 2021-08-24 22:59:32 UTC (rev 1004686)
@@ -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 1004685, nushell/trunk/nushell.install)
===================================================================
--- nushell.install (rev 0)
+++ nushell.install 2021-08-24 22:59:32 UTC (rev 1004686)
@@ -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