summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Wozniak2015-07-10 20:00:40 +0200
committerPatrick Wozniak2015-07-10 20:00:40 +0200
commit041702ab3ce94a99f443cbdf7a9ac22e41504eaf (patch)
treea69952bf8a8d81c5e32cffb8f45716a50a705046
downloadaur-041702ab3ce94a99f443cbdf7a9ac22e41504eaf.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD42
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8271eab194c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = masterpassword-cli
+ pkgdesc = CLI version of Master Password.
+ pkgver = 2.2
+ pkgrel = 2
+ url = http://masterpasswordapp.com/
+ arch = any
+ license = GPL3
+ makedepends = openssl
+ makedepends = gcc
+ makedepends = git
+ makedepends = subversion
+ optdepends = xclip: copy password to clipboard
+ conflicts = masterpassword-cli-git
+ source = https://ssl.masterpasswordapp.com/masterpassword-cli.tar.gz
+ sha256sums = 6ea76592eb8214329072d04f651af99d73de188a59ef76975d190569c7fa2b90
+
+pkgname = masterpassword-cli
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3f6a396779f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Patrick Wozniak <email@patwoz.de>
+
+pkgname=masterpassword-cli
+pkgver=2.2
+pkgrel=2
+pkgdesc="CLI version of Master Password."
+
+arch=('any')
+url="http://masterpasswordapp.com/"
+license=('GPL3')
+
+optdepends=(
+ 'xclip: copy password to clipboard'
+)
+makedepends=(
+ 'openssl'
+ 'gcc'
+ 'git'
+ 'subversion'
+)
+conflicts=(
+ 'masterpassword-cli-git'
+)
+
+source=("https://ssl.masterpasswordapp.com/$pkgname.tar.gz")
+sha256sums=('6ea76592eb8214329072d04f651af99d73de188a59ef76975d190569c7fa2b90')
+
+build() {
+ pwd
+ targets="mpw" ./build
+}
+
+package() {
+ pwd
+
+ # run ./install
+ # mkdir -p "$bindir"
+ # echo -e "$bindir\nn" | ./install
+ # rm "$bindir/bashlib"
+
+ install -Dm755 "mpw" "$pkgdir/usr/bin/mpw"
+}