Date: Wednesday, May 17, 2023 @ 05:37:28
  Author: grawlinson
Revision: 1462913

archrelease: copy trunk to community-x86_64

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

-----------------+
 PKGBUILD        |  131 ++++++++++++++++++++++++++++--------------------------
 nushell.install |   24 ++++-----
 2 files changed, 80 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-17 05:32:42 UTC (rev 1462912)
+++ PKGBUILD    2023-05-17 05:37:28 UTC (rev 1462913)
@@ -1,63 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: KokaKiwi <[email protected]>
-# Contributor: Felix Golatofski <[email protected]>
-# Contributor: Bumsik Kim <[email protected]>
-
-pkgname=nushell
-pkgver=0.79.0
-_commit=a1b72611215dbfca257351003204a80c83859e05
-pkgrel=1
-pkgdesc='A new type of shell'
-arch=('x86_64')
-url='https://www.nushell.sh'
-license=('MIT')
-depends=(
-  'glibc'
-  'gcc-libs'
-  'libcrypto.so'
-  'libssl.so'
-  'zlib'
-)
-makedepends=('cargo' 'git')
-install=nushell.install
-source=("git+https://github.com/nushell/nushell.git#commit=$_commit";)
-sha256sums=('SKIP')
-
-prepare() {
-  cd "$pkgname"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-pkgver() {
-  cd "$pkgname"
-  git describe --tags
-}
-
-_pkgver() {
-  curl -fs https://api.github.com/repos/$pkgname/$pkgname/git/ref/tags/$pkgver 
|
-    jq -r .object.sha
-}
-
-build() {
-  cd "$pkgname"
-  CFLAGS+=" -ffat-lto-objects"
-  cargo build --release --frozen --workspace --features=extra,dataframe
-}
-
-check() {
-  cd "$pkgname"
-  cargo test --frozen --workspace --features=extra,dataframe
-}
-
-package() {
-  cd "$pkgname"
-  find target/release \
-    -maxdepth 1 \
-    -executable \
-    -type f \
-    -name "nu*" \
-    -exec install -vDm755 -t "$pkgdir/usr/bin" "{}" +
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}

Copied: nushell/repos/community-x86_64/PKGBUILD (from rev 1462912, 
nushell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-17 05:37:28 UTC (rev 1462913)
@@ -0,0 +1,68 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: KokaKiwi <[email protected]>
+# Contributor: Felix Golatofski <[email protected]>
+# Contributor: Bumsik Kim <[email protected]>
+
+pkgname=nushell
+pkgver=0.80.0
+_commit=8695b575848d5eb4d688087aa9e906b4d9e7c8d8
+pkgrel=1
+pkgdesc='A new type of shell'
+arch=('x86_64')
+url='https://www.nushell.sh'
+license=('MIT')
+depends=(
+  'glibc'
+  'gcc-libs'
+  'libcrypto.so'
+  'libssl.so'
+  'zlib'
+)
+makedepends=('cargo' 'git')
+install=nushell.install
+source=("git+https://github.com/nushell/nushell.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname"
+
+  CFLAGS+=" -ffat-lto-objects"
+
+  cargo build --release --frozen --workspace --features=extra,dataframe
+}
+
+check() {
+  cd "$pkgname"
+
+  cargo test --frozen --workspace --features=extra,dataframe
+}
+
+package() {
+  cd "$pkgname"
+
+  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     2023-05-17 05:32:42 UTC (rev 1462912)
+++ nushell.install     2023-05-17 05:37:28 UTC (rev 1462913)
@@ -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 1462912, 
nushell/trunk/nushell.install)
===================================================================
--- nushell.install                             (rev 0)
+++ nushell.install     2023-05-17 05:37:28 UTC (rev 1462913)
@@ -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
+}

Reply via email to