office/enpass: Added (a multiplatform password manager).

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Justin Teague 2019-06-04 09:33:02 +07:00 committed by Willy Sudiarto Raharjo
parent b9be69ac79
commit 918d5b2ad0
No known key found for this signature in database
GPG key ID: 887B8374D7333381
5 changed files with 130 additions and 0 deletions

20
office/enpass/README Normal file
View file

@ -0,0 +1,20 @@
Enpass is a multiplatform password manager keeping your passwords across
Linux, Winows, MacOS, iOS, Android, and browsers.
If browser fails to open Enpass after synchronization service has been
authenticated - run this command (as regular user) and try again:
# xdg-mime default enpass.desktop x-scheme-handler/enpassauth
If Enpass is picking the wrong scale factor for your display, add the
following lines to your ~/.profile
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCREEN_FACTORS=1
(adjust as per your display)
In case of multiple displays:
export "QT_SCREEN_SCALE_FACTORS=1;1"
Logout/login current desktop session and start Enpass.

13
office/enpass/doinst.sh Normal file
View file

@ -0,0 +1,13 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -0,0 +1,68 @@
#!/bin/sh
#
# Slackware build script for Enpass
#
# Copyright 2019 Justin Teague Houston, US
#
# Based loosely on Patrick J. Volkerding's google-chrome.SlackBuild
#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=enpass
VERSION=${VERSION:-6.1.0.407}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=${ARCH:-$(uname -m)}
case "$ARCH" in
x86_64) DEBARCH="amd64" ; LIBDIRSUFFIX="64" ; ARCH=x86_64 ;;
*) echo "Package for $(uname -m) architecture is not available." ; exit 1 ;;
esac
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
ar p $CWD/${PRGNAM}_${VERSION}_${DEBARCH}.deb data.tar.gz | tar xvz || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
chmod 0755 .
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/icons $PKG/usr/doc/
mv $PKG/usr/share/doc/enpass/changelog.gz $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/bin
ln -s $PKG/opt/enpass/Enpass $PKG/usr/bin/enpass
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

10
office/enpass/enpass.info Normal file
View file

@ -0,0 +1,10 @@
PRGNAM="enpass"
VERSION="6.1.0.407"
HOMEPAGE="https://www.enpass.io/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://apt.enpass.io/pool/main/e/enpass/enpass_6.1.0.407_amd64.deb"
MD5SUM_x86_64="c9d3763d14e19bdd110ce74a9a75bd62"
REQUIRES=""
MAINTAINER="Justin Teague"
EMAIL="baumerang@posteo.net"

19
office/enpass/slack-desc Normal file
View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
enpass: enpass (a multiplatform password manager)
enpass:
enpass: enpass is a multiplatorm password manager keeping your passwords
enpass: across Linux, Windows, MacOS, iOS, Android, and browsers.
enpass:
enpass: Home https://www.enpass.io/
enpass:
enpass:
enpass:
enpass:
enpass: