exa/contrib/PKGBUILD
2015-02-25 12:26:13 -06:00

25 lines
581 B
Bash

# Maintainer: tuftedocelot@fastmail.fm
_pkgname=exa
pkgname=${_pkgname}-git
pkgver=270
pkgrel=1
pkgdesc='Replacement for ls written in Rust.'
arch=('i686' 'x86_64')
url="https://github.com/ogham/exa"
license='MIT'
depends=('libssh2')
makedepends=('cmake' 'rust-nightly-bin' 'libgit2')
source=("git+https://github.com/ogham/exa.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git rev-list --count HEAD
}
package() {
cd "$srcdir/$_pkgname"
cargo build --release
install -Dm755 "$srcdir/$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}