diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..252a709b445a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = gnome-shell-extension-password-manager-search-git + pkgdesc = Search for logins stored in online password managers. + pkgver = r47.2fe8a8c + pkgrel = 1 + url = https://github.com/ellakk/password-manager-search + arch = any + license = GPL3 + makedepends = git + makedepends = glib2 + depends = gnome-shell + optdepends = 1password-cli + optdepends = bitwarden-cli: For Bitwarden support + optdepends = lastpass-cli: For LastPass support + optdepends = xclip: Option for setting the clipboard + optdepends = xsel: Option for setting the clipboard + source = gnome-shell-extension-password-manager-search-git::git+https://github.com/ellakk/password-manager-search + sha256sums = SKIP + +pkgname = gnome-shell-extension-password-manager-search-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5fff5b41f97f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Kalle Lindqvist <kalle.lindqvist@mykolab.com> + +pkgname=gnome-shell-extension-password-manager-search-git +pkgver=r47.2fe8a8c +pkgrel=1 +pkgdesc="Search for logins stored in online password managers." +arch=(any) +url="https://github.com/ellakk/password-manager-search" +license=(GPL3) +depends=(gnome-shell) +makedepends=(git glib2) +optdepends=('1password-cli' + 'bitwarden-cli: For Bitwarden support' + 'lastpass-cli: For LastPass support' + 'xclip: Option for setting the clipboard' + 'xsel: Option for setting the clipboard') +source=("${pkgname}::git+${url}") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + glib-compile-schemas "${srcdir}/${pkgname}/schemas/" +} + +package() { + _uuid="password-manager-search@kalle.lindqvist.mykolab.com" + cd "${srcdir}/${pkgname}" + + install -dm755 "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}" + cp -r * "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}/" +} + |