diff options
author | Julian Grinblat <julian@dotcore.co.il> | 2024-02-29 00:07:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-02-29 01:20:50 +0700 |
commit | a49204c8ae98e02dcec51094c43ebe1f1d8fcd9e (patch) | |
tree | 6b6135a3ec2c8b09b95ac91bca5dfd6161ddcb08 /desktop/wofi-pass | |
parent | 17bc222f6e892d54c2c8ba4f3427c489c0b8d34b (diff) |
desktop/wofi-pass: Added (Wayland-native interface).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/wofi-pass')
-rw-r--r-- | desktop/wofi-pass/README | 5 | ||||
-rw-r--r-- | desktop/wofi-pass/slack-desc | 19 | ||||
-rw-r--r-- | desktop/wofi-pass/wofi-pass.SlackBuild | 77 | ||||
-rw-r--r-- | desktop/wofi-pass/wofi-pass.info | 10 |
4 files changed, 111 insertions, 0 deletions
diff --git a/desktop/wofi-pass/README b/desktop/wofi-pass/README new file mode 100644 index 0000000000000..9c94f7bbcbb2d --- /dev/null +++ b/desktop/wofi-pass/README @@ -0,0 +1,5 @@ +wofi-pass + +wofi-pass is analogous to rofi-pass but for wofi. + +pass-otp is an optional dependency. diff --git a/desktop/wofi-pass/slack-desc b/desktop/wofi-pass/slack-desc new file mode 100644 index 0000000000000..04fa91f899ff7 --- /dev/null +++ b/desktop/wofi-pass/slack-desc @@ -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------------------------------------------------------| +wofi-pass: wofi-pass (pass integration with wofi) +wofi-pass: +wofi-pass: wofi-pass is analogous to rofi-pass but for wofi. +wofi-pass: +wofi-pass: Homepage: https://github.com/schmidtandreas/wofi-pass +wofi-pass: +wofi-pass: +wofi-pass: +wofi-pass: +wofi-pass: +wofi-pass: diff --git a/desktop/wofi-pass/wofi-pass.SlackBuild b/desktop/wofi-pass/wofi-pass.SlackBuild new file mode 100644 index 0000000000000..445e63fb29ffe --- /dev/null +++ b/desktop/wofi-pass/wofi-pass.SlackBuild @@ -0,0 +1,77 @@ +#!/bin/bash + +# Slackware build script for wofi-pass + +# Copyright 2024 Julian Grinblat <julian@dotcore.co.il> +# 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. + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=wofi-pass +VERSION=${VERSION:-23.1.4} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +ARCH=noarch + +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +install -D -m 0755 wofi-pass $PKG/usr/bin/wofi-pass +install -D -m 0644 wofi-pass.conf $PKG/etc/wofi-pass.conf +install -D -m 0644 man/wofi-pass.1 $PKG/usr/man/man1/wofi-pass.1 + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +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 diff --git a/desktop/wofi-pass/wofi-pass.info b/desktop/wofi-pass/wofi-pass.info new file mode 100644 index 0000000000000..ea9fa9cad480d --- /dev/null +++ b/desktop/wofi-pass/wofi-pass.info @@ -0,0 +1,10 @@ +PRGNAM="wofi-pass" +VERSION="23.1.4" +HOMEPAGE="https://github.com/schmidtandreas/wofi-pass" +DOWNLOAD="https://github.com/schmidtandreas/wofi-pass/archive/refs/tags/v23.1.4/wofi-pass-23.1.4.tar.gz" +MD5SUM="4a2e7b33b1b0edca2cd7124a3c4f8cf0" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="wofi wl-clipboard wtype" +MAINTAINER="Julian Grinblat" +EMAIL="julian@dotcore.co.il" |