summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandr Savca <alexandr.savca89@gmail.com>2018-04-01 00:13:54 +0300
committerAlexandr Savca <alexandr.savca89@gmail.com>2018-04-01 00:13:54 +0300
commit1389c1d27e8cbea67a4299d3457287b362af9133 (patch)
tree146eeda797fd526330eef0d0d420d34ddefd4d41
parente04d8eaec66578608421aa7471f9bd6117fb9100 (diff)
downloadcontrib-1389c1d27e8cbea67a4299d3457287b362af9133.tar.gz
contrib-1389c1d27e8cbea67a4299d3457287b362af9133.tar.xz
vifm: bash-completion is optional
-rw-r--r--vifm/.footprint3
-rw-r--r--vifm/.signature6
-rw-r--r--vifm/Pkgfile5
3 files changed, 8 insertions, 6 deletions
diff --git a/vifm/.footprint b/vifm/.footprint
index 9cef76027..968a246dd 100644
--- a/vifm/.footprint
+++ b/vifm/.footprint
@@ -7,9 +7,6 @@ drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/vifm.desktop
-drwxr-xr-x root/root usr/share/bash-completion/
-drwxr-xr-x root/root usr/share/bash-completion/completions/
--rw-r--r-- root/root usr/share/bash-completion/completions/vifm
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/vifm-convert-dircolors.1.gz
diff --git a/vifm/.signature b/vifm/.signature
index fd60d2fe0..eacfe4142 100644
--- a/vifm/.signature
+++ b/vifm/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3283gfGcjUiJ3ao5oADSiz7R7BQV+mekz1TMB4OVCQkGR7XB3KiuEpctvcg+KkOAlTghWgiMnbICG3H12eaxtA0=
-SHA256 (Pkgfile) = 31b7eabf968584c0197e540568043e8d097e0e2775fa30b4b7c281520c836933
-SHA256 (.footprint) = d412cb10327776d8a61a49d41948dc7afb421b81bb4f2c9ce73f1fdcd5be15c7
+RWSagIOpLGJF3862gBDkpRxWMAnnIksHA3NsRtJ7fKdI7fkP6gVTGk3UxxyaTnAWnp8pV++03D3ch49JIw5KIi8yWymqzUthZgk=
+SHA256 (Pkgfile) = 454cf59fd115d251cc80afd4304cac0d3cb90264a0489f6b2c38514f35d21731
+SHA256 (.footprint) = c28515729f917ee5eb9fefc1890dfe58d25806d5d002ea14a472d5ba66389c02
SHA256 (v0.9.1.tar.gz) = f208cdcd912348df8e18214078ab2455831d05190078ab5af507bd9789ea8b04
diff --git a/vifm/Pkgfile b/vifm/Pkgfile
index 671684572..3d95960dc 100644
--- a/vifm/Pkgfile
+++ b/vifm/Pkgfile
@@ -2,6 +2,7 @@
# URL: http://vifm.info
# Maintainer: Alexandr Savca, alexandr dot savca89 at gmail dot com
# Depends on: ncurses
+# Optional: bash-completion
name=vifm
version=0.9.1
@@ -18,5 +19,9 @@ build() {
make
make DESTDIR=$PKG install
+ if ! pkginfo -i | grep '^bash-completion '; then
+ rm -rf $PKG/usr/share/bash-completion
+ fi
+
rm -rf $PKG/usr/share/doc
}

Generated by cgit