summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Gilbert2017-10-25 14:06:03 -0400
committerBryan Gilbert2017-10-25 14:06:03 -0400
commite0cb0dc5b797f68971454c26a995d4d48cdf6503 (patch)
treeb251715f3573e71034330f3d88e4387fc5dce4bb
downloadaur-e0cb0dc5b797f68971454c26a995d4d48cdf6503.tar.gz
Initial commit of 0.1.0 release
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..db7f28418a68
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = mpwc
+ pkgdesc = A simple and flexible Master Password CLI client
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/gilbertw1/mpwc
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = cargo
+ depends = libsodium
+ source = https://github.com/gilbertw1/mpwc/archive/0.1.0.tar.gz
+ sha256sums = 2eb3a0a95c598bc01246c24e439477d82b3d77e40a272e8a1706e8dc46d269c7
+
+pkgname = mpwc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..d1810a5a1304
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Bryan Gilbert <bryan at bryan dot sh>
+pkgname=mpwc
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="A simple and flexible Master Password CLI client"
+arch=('i686' 'x86_64')
+url="https://github.com/gilbertw1/mpwc"
+license=('GPL')
+depends=('libsodium')
+makedepends=('cargo')
+source=("https://github.com/gilbertw1/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('2eb3a0a95c598bc01246c24e439477d82b3d77e40a272e8a1706e8dc46d269c7')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -Dm755 "target/release/mpwc" "$pkgdir/usr/bin/mpwc"
+ install -Dm644 "README.md" "$pkgdir/usr/share/doc/mpwc/README.md"
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/mpwc/LICENSE"
+ install -Dm644 "doc/mpwc.1" "$pkgdir/usr/share/man/man1/mpwc.1"
+}