summaryrefslogtreecommitdiffstats
path: root/system/password-store/password-store.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/password-store/password-store.SlackBuild')
-rw-r--r--system/password-store/password-store.SlackBuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/system/password-store/password-store.SlackBuild b/system/password-store/password-store.SlackBuild
index eb9e4f6e4d..76323d1a01 100644
--- a/system/password-store/password-store.SlackBuild
+++ b/system/password-store/password-store.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for password-store
# Copyright 2013 Michael Ren <micron33@gmail.com>
+# Copyright 2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=password-store
-VERSION=${VERSION:-1.6.5}
+VERSION=${VERSION:-1.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,12 +52,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make install FORCE_BASHCOMP=1 MANDIR=/usr/man DESTDIR=$PKG
+# Extensions is hard-coded to /usr/lib/password-store/extensions
+PREFIX=/usr LIBDIR=/usr/lib MANDIR=/usr/man DESTDIR=$PKG make
+PREFIX=/usr LIBDIR=/usr/lib MANDIR=/usr/man DESTDIR=$PKG make install
-# Adapted from the Makefile:
-# Uncomment the two lines below to install the zsh completion file.
-#mkdir -p "${PKG}/usr/share/zsh/site-functions"
-#install -m 0644 -v contrib/pass.zsh-completion "${PKG}/usr/share/zsh/site-functions/_pass"
+cp contrib/importers/* $PKG/usr/bin/
+
+# Check for dmenu
+if [ -e /usr/bin/dmenu ]; then
+ cp contrib/dmenu/passmenu $PKG/usr/bin/
+fi
# Uncomment the two lines below to install the fish completion file.
#mkdir -p "${PKG}/usr/share/fish/completions"