[arch-commits] Commit in zoxide/repos/community-x86_64 (PKGBUILD PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Thu Sep 9 17:43:21 UTC 2021


    Date: Thursday, September 9, 2021 @ 17:43:21
  Author: grawlinson
Revision: 1013105

archrelease: copy trunk to community-x86_64

Added:
  zoxide/repos/community-x86_64/PKGBUILD
    (from rev 1013104, zoxide/trunk/PKGBUILD)
Deleted:
  zoxide/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   99 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 48 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-09 17:42:32 UTC (rev 1013104)
+++ PKGBUILD	2021-09-09 17:43:21 UTC (rev 1013105)
@@ -1,51 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: desbma
-
-pkgname=zoxide
-pkgver=0.7.4
-pkgrel=2
-pkgdesc="A smarter cd command for your terminal"
-arch=('x86_64')
-url="https://github.com/ajeetdsouza/zoxide"
-license=('MIT')
-makedepends=('rust')
-optdepends=(
-  'fzf: for interactive selection'
-  'bash-completion: for shell auto-completion'
-  'fish: for shell auto-completion'
-  'zsh: for shell auto-completion'
-)
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-b2sums=('4aab73e81fae7f749e57fd5ab7e77f5819650b8cc112885ae7fd97d5ddadf306247e0f965875d7369280a32a40d00ac9e1f34189096ad166d7fe33bcccfe663f')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  cargo build --frozen --release --all-features
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-
-  # man pages
-  install -vDm644 -t "$pkgdir/usr/share/man/man1" man/*.1
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-
-  # shell auto-completions
-  cd contrib/completions
-  install -vDm644 -t "$pkgdir/usr/share/zsh/site-functions" _zoxide
-  install -vDm644 -t "$pkgdir/usr/share/fish/vendor_completions.d" zoxide.fish
-  install -vDm644 zoxide.bash "$pkgdir/usr/share/bash-completion/completions/zoxide"
-}

Copied: zoxide/repos/community-x86_64/PKGBUILD (from rev 1013104, zoxide/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-09 17:43:21 UTC (rev 1013105)
@@ -0,0 +1,48 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: desbma
+
+pkgname=zoxide
+pkgver=0.7.5
+pkgrel=1
+pkgdesc="A smarter cd command for your terminal"
+arch=('x86_64')
+url="https://github.com/ajeetdsouza/zoxide"
+license=('MIT')
+makedepends=('rust')
+optdepends=(
+  'fzf: for interactive selection'
+)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+b2sums=('bdcb42d5eca9b0c0402e782c9330749844d84822bf23220f53fbe5d6afdeed4a5ec40b6d9f396be61052bfc623151b2cddd06834898c6a77a0c80dc34596fc65')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --frozen --release --all-features
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+  # man pages
+  install -vDm644 -t "$pkgdir/usr/share/man/man1" man/*.1
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # shell auto-completions
+  cd contrib/completions
+  install -vDm644 -t "$pkgdir/usr/share/zsh/site-functions" _zoxide
+  install -vDm644 -t "$pkgdir/usr/share/fish/vendor_completions.d" zoxide.fish
+  install -vDm644 zoxide.bash "$pkgdir/usr/share/bash-completion/completions/zoxide"
+}



More information about the arch-commits mailing list