Skip to content

Commit

Permalink
add: eza-git (pacstall#4539)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and Zahrun committed Oct 11, 2023
1 parent e63d644 commit fa5101a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ epson-printer-utility-deb
exa-git
exploitdb-git
expressvpn-deb
eza-git
f1multiviewer-deb
fake-ubuntu-advantage-tools-deb
fast
Expand Down
20 changes: 20 additions & 0 deletions packages/eza-git/eza-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name="eza-git"
gives="eza"
url="https://github.com/eza-community/eza.git"
pkgver="0.10.0"
homepage='https://the.exa.website/'
makedepends=("cargo" "libgit2-dev" "cmake" "rustc")
pkgdesc="A modern, maintained replacement for ls"
maintainer="Elsie19 <[email protected]>"
incompatible=('debian:*')
pkgver() {
git ls-remote "${url}" main | cut -f1 | cut -c1-8
}

build() {
cargo build -j"${NCPU}" --release
}

package() {
sudo install -Dm755 target/release/eza -t "${pkgdir}/usr/bin"
}

0 comments on commit fa5101a

Please sign in to comment.