[arch-commits] Commit in zoxide/repos/community-x86_64 (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Tue Nov 2 02:07:19 UTC 2021
Date: Tuesday, November 2, 2021 @ 02:07:18
Author: grawlinson
Revision: 1035374
archrelease: copy trunk to community-x86_64
Added:
zoxide/repos/community-x86_64/PKGBUILD
(from rev 1035373, zoxide/trunk/PKGBUILD)
Deleted:
zoxide/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-02 02:05:54 UTC (rev 1035373)
+++ PKGBUILD 2021-11-02 02:07:18 UTC (rev 1035374)
@@ -1,50 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: desbma
-
-pkgname=zoxide
-pkgver=0.7.8
-pkgrel=1
-pkgdesc="A smarter cd command for your terminal"
-arch=('x86_64')
-url="https://github.com/ajeetdsouza/zoxide"
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('rust')
-optdepends=(
- 'fzf: for interactive selection'
-)
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('0c861c5b51f967784e25f57277377246d34e8abc63b6489d54112c52592c5314c4ab542a8f44693591f6d3702ee1de2cc5bb388e8cffd59d1cd0f0a130703b0e')
-b2sums=('9cdd12a1508319f555659a64aa9f6a121ae264ff83e0d394196668d4f97965b2e57b6fbf21365d3ecea09f9070ff68e683a8524ad8be3101fce0bf05b23a96de')
-
-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 1035373, zoxide/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-02 02:07:18 UTC (rev 1035374)
@@ -0,0 +1,50 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: desbma
+
+pkgname=zoxide
+pkgver=0.7.9
+pkgrel=1
+pkgdesc="A smarter cd command for your terminal"
+arch=('x86_64')
+url="https://github.com/ajeetdsouza/zoxide"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+optdepends=(
+ 'fzf: for interactive selection'
+)
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('9069e921a086479f0a90a285dda0fcac18f34f043cfd41d1ace19d3b8803a691fdfd22e4c23159dea46ab2353b8aa996b930ddc60cb57fabd7f9449292d1d912')
+b2sums=('b32c45c72f64927b595d9c3ccfc666f3f4d8606be37739074d16d79ae8c9e35242fb11813d8f58aaee808924945289760d0a5ec08fd295b137b7b7071a42a8d2')
+
+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