summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuijie Yu2020-11-28 17:02:00 -0500
committerRuijie Yu2020-11-28 17:18:03 -0500
commitd411e045336a3f958840c9f9f9a87cfbce1270f5 (patch)
tree5793652b4d23516d8fc234e83f14b5a6e3b5436e
downloadaur-d411e045336a3f958840c9f9f9a87cfbce1270f5.tar.gz
initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD39
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9487bcd8b52
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = pinentry-dispatch
+ pkgdesc = Dispatch pinentry based on different use cases
+ pkgver = 0.0.1
+ pkgrel = 1
+ url = https://github.com/RuijieYu/pinentry-dispatch
+ arch = any
+ license = MIT
+ depends = pinentry
+ source = https://github.com/RuijieYu/pinentry-dispatch/archive/v0.0.1.tar.gz
+ sha512sums = a87c8114660331d17debfe6ef7b1772401ff4c1d80483fe8dc159f54f5015b0f4ab756365800e71f6599b660299111eb575e55d5732183f8e5511534eca63507
+ b2sums = 937c539804bd42a3e5ecaa0a64524a81ba9d9c93369345822f6cf1b8d33958cbc3dbbb53da2d7e64ea8c7329de33ef419755d2ffe7cc46ff05ce9b897a904fa4
+
+pkgname = pinentry-dispatch
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1150ed5602d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer Ruijie Yu
+# vim:nospell:ft=sh:
+
+pkgname=pinentry-dispatch
+
+pkgver=0.0.1
+pkgrel=1
+
+pkgdesc='Dispatch pinentry based on different use cases'
+arch=(any)
+url="https://github.com/RuijieYu/$pkgname"
+license=(MIT)
+
+depends=(pinentry)
+
+source=("$url/archive/v$pkgver.tar.gz")
+
+sha512sums=('a87c8114660331d17debfe6ef7b1772401ff4c1d80483fe8dc159f54f5015b0f4ab756365800e71f6599b660299111eb575e55d5732183f8e5511534eca63507')
+b2sums=('937c539804bd42a3e5ecaa0a64524a81ba9d9c93369345822f6cf1b8d33958cbc3dbbb53da2d7e64ea8c7329de33ef419755d2ffe7cc46ff05ce9b897a904fa4')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install \
+ -Dm0755 \
+ "pinentry-dispatch" \
+ -t "$pkgdir/usr/bin/"
+
+ install \
+ -Dm0644 \
+ "README.md" \
+ -t "$pkgdir/usr/share/doc/$pkgname/"
+
+ install \
+ -Dm0644 \
+ "LICENSE" \
+ -t "$pkgdir/usr/share/licenses/$pkgname/"
+}
+