diff options
author | tuftedocelot | 2017-09-13 05:56:53 -0500 |
---|---|---|
committer | tuftedocelot | 2017-09-13 05:56:53 -0500 |
commit | 8ea44973dddfcb3b6d7f4abea1ea5de25b643353 (patch) | |
tree | 1d9379ae05b6d0fda184f4199ddbeb592410272f | |
parent | 87b1c1151b8c20932c721162593a1b37ec95dc4c (diff) | |
download | aur-8ea44973dddfcb3b6d7f4abea1ea5de25b643353.tar.gz |
Vers bump, include conflict/provides, match exa PKGBUILD closer
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 23 insertions, 6 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Sat Apr 15 14:20:44 UTC 2017 +# Wed Sep 13 10:54:42 UTC 2017 pkgbase = exa-git pkgdesc = Replacement for ls written in Rust. - pkgver = 633 + pkgver = 991 pkgrel = 1 url = https://github.com/ogham/exa arch = i686 @@ -13,6 +13,9 @@ pkgbase = exa-git makedepends = cargo makedepends = git depends = libssh2 + depends = zlib + provides = exa + conflicts = exa source = git+https://github.com/ogham/exa.git md5sums = SKIP @@ -1,14 +1,16 @@ # Maintainer: tuftedocelot@fastmail.fm _pkgname=exa pkgname=${_pkgname}-git -pkgver=633 +pkgver=991 pkgrel=1 pkgdesc='Replacement for ls written in Rust.' arch=('i686' 'x86_64') url="https://github.com/ogham/exa" license=('MIT') -depends=('libssh2') +depends=('libssh2' 'zlib') makedepends=('cmake' 'rust' 'cargo' 'git') +provides=('exa') +conflicts=('exa') source=("git+https://github.com/ogham/exa.git") md5sums=('SKIP') @@ -18,8 +20,20 @@ pkgver() { } package() { + make -C "$pkgname" +} + +package() { cd "$srcdir/$_pkgname" - make - install -Dm755 "$srcdir/$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname" + mkdir -p "$pkgdir/usr/bin" + make PREFIX="$pkgdir/usr" install + install -Dm644 contrib/completions.bash \ + "$pkgdir/etc/bash_completion.d/$pkgname" + install -Dm644 contrib/completions.zsh \ + "$pkgdir/usr/share/zsh/site-functions/_$pkgname" + install -Dm644 contrib/completions.fish \ + "$pkgdir/usr/share/fish/vendor_completions.d/$pkgname.fish" + install -Dm644 LICEN?E \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 "$srcdir/$_pkgname/contrib/man/$_pkgname.1" "$pkgdir/usr/share/man/man1/$_pkgname.1" } |