summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkalle2020-11-24 19:58:19 +0100
committerkalle2020-11-24 19:58:19 +0100
commitcfec89d584c693a96c1d9e879402f717679fccc9 (patch)
tree6b93dae0f5091ae7c1a29445bfae4f9b2c8a4dc9
downloadaur-cfec89d584c693a96c1d9e879402f717679fccc9.tar.gz
pkgrel 1
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD37
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..252a709b445
--- /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 00000000000..5fff5b41f97
--- /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}/"
+}
+