mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-01-15 01:23:43 +00:00
Merge pull request #38 from tuftedocelot/master
Add PKGBUILD to contrib
This commit is contained in:
commit
f6276dfb9d
25
contrib/PKGBUILD
Normal file
25
contrib/PKGBUILD
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Maintainer: tuftedocelot@fastmail.fm
|
||||||
|
_pkgname=exa
|
||||||
|
pkgname=${_pkgname}-git
|
||||||
|
pkgver=303
|
||||||
|
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"
|
||||||
|
make
|
||||||
|
install -Dm755 "$srcdir/$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
|
||||||
|
install -Dm644 "$srcdir/$_pkgname/man/$_pkgname.1" "$pkgdir/usr/share/man/man1/$_pkgname.1"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user