mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-06 00:57:14 -04:00
Marked xclip and wl-clipboard as optional dependencies
Former-commit-id: 18c803b31864f7759a71a2b1c7ec0b2b1cff3471 Former-commit-id: 7e92994170865b4e5b60d4bf12838e618f546dfd
This commit is contained in:
+12
-21
@@ -54,8 +54,12 @@ pkgdesc='A light-weight, self-hosted, synchronized password manager'
|
|||||||
url='https://github.com/rwinkhart/sshyp'
|
url='https://github.com/rwinkhart/sshyp'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
license=('GPL-3.0-only')
|
license=('GPL-3.0-only')
|
||||||
depends=(python gnupg openssh xclip wl-clipboard)
|
depends=(python gnupg openssh)
|
||||||
optdepends=('bash-completion: bash completion support')
|
optdepends=(
|
||||||
|
'wl-clipboard: wayland clipboard support'
|
||||||
|
'xclip: x11 clipboard support'
|
||||||
|
'bash-completion: bash completion support'
|
||||||
|
)
|
||||||
source=(\""$source"\")
|
source=(\""$source"\")
|
||||||
sha512sums=('"$sha512"')
|
sha512sums=('"$sha512"')
|
||||||
|
|
||||||
@@ -95,7 +99,7 @@ options=!check
|
|||||||
url='https://github.com/rwinkhart/sshyp'
|
url='https://github.com/rwinkhart/sshyp'
|
||||||
arch='noarch'
|
arch='noarch'
|
||||||
license='GPL-3.0-only'
|
license='GPL-3.0-only'
|
||||||
depends='python3 gnupg openssh xclip wl-clipboard'
|
depends='python3 gnupg openssh'
|
||||||
source=\""$source"\"
|
source=\""$source"\"
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
@@ -185,18 +189,11 @@ Section: utils
|
|||||||
Architecture: all
|
Architecture: all
|
||||||
Maintainer: Randall Winkhart <idgr at tutanota dot com>
|
Maintainer: Randall Winkhart <idgr at tutanota dot com>
|
||||||
Description: A light-weight, self-hosted, synchronized password manager
|
Description: A light-weight, self-hosted, synchronized password manager
|
||||||
" > output/debiantemp/sshyp_"$version"-"$revision"_all/DEBIAN/control
|
Depends: python3, gnupg, openssh-client
|
||||||
if [ "$1" = 'Debian' ]; then
|
Suggests: wl-clipboard, xclip, bash-completion
|
||||||
printf "Depends: python3, gnupg, openssh-client, xclip, wl-clipboard
|
|
||||||
" >> output/debiantemp/sshyp_"$version"-"$revision"_all/DEBIAN/control
|
|
||||||
else
|
|
||||||
printf "Depends: python3, gnupg, openssh-client
|
|
||||||
" >> output/debiantemp/sshyp_"$version"-"$revision"_all/DEBIAN/control
|
|
||||||
fi
|
|
||||||
printf "Suggests: bash-completion
|
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Installed-Size: 71680
|
Installed-Size: 71680
|
||||||
" >> output/debiantemp/sshyp_"$version"-"$revision"_all/DEBIAN/control
|
" > output/debiantemp/sshyp_"$version"-"$revision"_all/DEBIAN/control
|
||||||
# START PORT
|
# START PORT
|
||||||
cp -r lib/. port-jobs/working/
|
cp -r lib/. port-jobs/working/
|
||||||
cd port-jobs
|
cd port-jobs
|
||||||
@@ -286,8 +283,8 @@ BuildArch: noarch
|
|||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
URL: https://github.com/rwinkhart/sshyp
|
URL: https://github.com/rwinkhart/sshyp
|
||||||
Source0: GENERIC-FEDORA-sshyp-"$version".tar.xz
|
Source0: GENERIC-FEDORA-sshyp-"$version".tar.xz
|
||||||
Requires: python gnupg openssh-clients wl-clipboard
|
Requires: python gnupg openssh-clients
|
||||||
Recommends: bash-completion
|
Recommends: wl-clipboard xclip bash-completion
|
||||||
%%description
|
%%description
|
||||||
sshyp is a password-store compatible CLI password manager available for UNIX(-like) systems - its primary goal is to make syncing passwords and notes across devices as easy as possible via CLI.
|
sshyp is a password-store compatible CLI password manager available for UNIX(-like) systems - its primary goal is to make syncing passwords and notes across devices as easy as possible via CLI.
|
||||||
%%install
|
%%install
|
||||||
@@ -353,12 +350,6 @@ prefix: /
|
|||||||
\"gnupg\" : {
|
\"gnupg\" : {
|
||||||
\"origin\" : \"security/gnupg\"
|
\"origin\" : \"security/gnupg\"
|
||||||
},
|
},
|
||||||
\"xclip\" : {
|
|
||||||
\"origin\" : \"x11/xclip\"
|
|
||||||
},
|
|
||||||
\"wl-clipboard\" : {
|
|
||||||
\"origin\" : \"x11/wl-clipboard\"
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
" > output/freebsdtemp/+MANIFEST
|
" > output/freebsdtemp/+MANIFEST
|
||||||
printf "/usr/bin/sshyp
|
printf "/usr/bin/sshyp
|
||||||
|
|||||||
Reference in New Issue
Block a user