2015-02-25 18:22:58 +00:00
|
|
|
# Maintainer: tuftedocelot@fastmail.fm
|
|
|
|
_pkgname=exa
|
|
|
|
pkgname=${_pkgname}-git
|
2015-02-26 19:28:52 +00:00
|
|
|
pkgver=303
|
2015-02-25 18:22:58 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Replacement for ls written in Rust.'
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="https://github.com/ogham/exa"
|
2015-02-25 18:26:13 +00:00
|
|
|
license='MIT'
|
|
|
|
depends=('libssh2')
|
2015-02-25 18:22:58 +00:00
|
|
|
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"
|
2015-02-26 19:28:52 +00:00
|
|
|
make
|
2015-02-25 18:26:13 +00:00
|
|
|
install -Dm755 "$srcdir/$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
|
2015-02-26 19:28:52 +00:00
|
|
|
install -Dm644 "$srcdir/$_pkgname/man/$_pkgname.1" "$pkgdir/usr/share/man/man1/$_pkgname.1"
|
2015-02-25 18:22:58 +00:00
|
|
|
}
|