summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Schwan2020-05-17 04:12:07 +0200
committerFrederik Schwan2020-05-17 04:12:07 +0200
commit1dbb4cd45267f38a6c1946017f9ce5a901a22701 (patch)
treea8dcdc892b125d855e83be48375aa1823373c717
downloadaur-1dbb4cd45267f38a6c1946017f9ce5a901a22701.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..75fabea678b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = pass-sshaskpass-git
+ pkgdesc = Get ssh passphrase from pass
+ pkgver = 0.0.1
+ pkgrel = 3
+ url = https://github.com/jlesquembre/pass-sshaskpass
+ arch = any
+ license = GPLv2
+ makedepends = git
+ depends = pass
+ depends = zenity
+ source = git+https://github.com/jlesquembre/pass-sshaskpass-git.git
+ b2sums = SKIP
+
+pkgname = pass-sshaskpass-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0d49d1c9953
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: José Luis Lafuente <jl@lafuente.me>
+
+pkgname=pass-sshaskpass-git
+pkgver=0.0.1
+pkgrel=3
+pkgdesc='Get ssh passphrase from pass'
+url='https://github.com/jlesquembre/pass-sshaskpass'
+license=('GPLv2')
+arch=('any')
+depends=('pass' 'zenity')
+makedepends=('git')
+source=("git+https://github.com/jlesquembre/${pkgname}.git")
+b2sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname}
+ echo $(git rev-list --count master).$(git rev-parse --short master)
+}
+
+package() {
+ cd ${pkgname}
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/etc
+}