[arch-commits] Commit in exa/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri Aug 4 17:54:55 UTC 2017
Date: Friday, August 4, 2017 @ 17:54:54
Author: arodseth
Revision: 248471
upgpkg: exa 0.7.0-2
Modified:
exa/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-04 16:05:48 UTC (rev 248470)
+++ PKGBUILD 2017-08-04 17:54:54 UTC (rev 248471)
@@ -4,7 +4,7 @@
pkgname=exa
pkgver=0.7.0
-pkgrel=1
+pkgrel=2
pkgdesc='ls replacement'
arch=('x86_64' 'i686')
url='https://the.exa.website/'
@@ -21,8 +21,16 @@
package() {
cd "$pkgname"
- make PREFIX=/usr DESTDIR="$pkgdir" install
- install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ 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"
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list