summaryrefslogtreecommitdiff
path: root/system/password-store/password-store.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 23:45:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-03 07:59:36 +0700
commit75a2679b15a2387209787b1ce4dc8def359d162d (patch)
treef99f1c5b0178fbe7c0ea3957c19b6bcce73b1043 /system/password-store/password-store.SlackBuild
parent98338d936f44f1da34ecca4b1c978a1d4767a64b (diff)
downloadslackbuilds-75a2679b15a2387209787b1ce4dc8def359d162d.tar.gz
system/password-store: Updated for version 1.7.1, new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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"