summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Boyer2020-08-18 14:53:24 +0200
committerQuentin Boyer2020-08-18 14:53:24 +0200
commit4383e47837d785278070fed651a56d15a414b630 (patch)
treef96c5e015ed7d45c501076866beb2bfd06198db7
downloadaur-4383e47837d785278070fed651a56d15a414b630.tar.gz
Inintial release of nextpass
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f763b463aae
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = nextpass
+ pkgdesc = CLI client for nextcloud passwords
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://github.com/traxys/nextpass
+ arch = x86_64
+ arch = aarch64
+ arch = armv7
+ license = GPL3
+ makedepends = rust
+ depends = openssl
+ source = nextpass-0.3.0.tar.gz::https://github.com/traxys/nextpass/archive/0.3.0.tar.gz
+ sha256sums = f1f9ca69880d0d03ae92a1545ef58eee7c26a9593218a2e72723c242a2fb15a2
+
+pkgname = nextpass
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..659dc481191
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Quentin Boyer <(firstname) at familleboyer DOT net>
+pkgname=nextpass
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='CLI client for nextcloud passwords'
+arch=('x86_64' 'aarch64' 'armv7')
+url='https://github.com/traxys/nextpass'
+license=('GPL3')
+makedepends=('rust')
+depends=('openssl')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha256sums=('f1f9ca69880d0d03ae92a1545ef58eee7c26a9593218a2e72723c242a2fb15a2')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ cargo build --release
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}