diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..61e740b546cd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = gpg-tui-bin + pkgdesc = A terminal user interface for GnuPG + pkgver = 0.1.2 + pkgrel = 1 + url = https://github.com/orhun/gpg-tui + arch = x86_64 + license = MIT + depends = libx11 + depends = gpgme + provides = gpg-tui + conflicts = gpg-tui + validpgpkeys = 14D49A4073C6899425D5315C1BC755D9FBD24068 + source_x86_64 = https://github.com/orhun/gpg-tui/releases/download/v0.1.2/gpg-tui-0.1.2-x86_64-unknown-linux-gnu.tar.gz + source_x86_64 = https://github.com/orhun/gpg-tui/releases/download/v0.1.2/gpg-tui-0.1.2-x86_64-unknown-linux-gnu.tar.gz.sig + sha512sums_x86_64 = 390fd4d4454e116c9da63f4280a1e3aa73bab950323f8be19771faaf638872c259b9c354e71fcdf22b57ca705b2810e7263161cfe3ddb357fffc67760105365a + sha512sums_x86_64 = SKIP + +pkgname = gpg-tui-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c2a759134187 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: orhun <orhunparmaksiz@gmail.com> +# https://github.com/orhun/pkgbuilds + +pkgname=gpg-tui-bin +pkgver=0.1.2 +pkgrel=1 +pkgdesc="A terminal user interface for GnuPG" +arch=('x86_64') +url="https://github.com/orhun/gpg-tui" +license=('MIT') +depends=('libx11' 'gpgme') +conflicts=("${pkgname%-bin}") +provides=("${pkgname%-bin}") +source_x86_64=("$url/releases/download/v$pkgver/${pkgname%-bin}-$pkgver-x86_64-unknown-linux-gnu.tar.gz"{,.sig}) +sha512sums_x86_64=('390fd4d4454e116c9da63f4280a1e3aa73bab950323f8be19771faaf638872c259b9c354e71fcdf22b57ca705b2810e7263161cfe3ddb357fffc67760105365a' + 'SKIP') +validpgpkeys=('14D49A4073C6899425D5315C1BC755D9FBD24068') # gpg-tui <gpg-tui@protonmail.com> + +package() { + cd "${pkgname%-bin}-$pkgver" + install -Dm 755 "${pkgname%-bin}" -t "${pkgdir}/usr/bin" + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname" + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm 644 "man/${pkgname%-bin}.1" -t "$pkgdir/usr/share/man/man1" + install -Dm 644 "completions/${pkgname%-bin}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname%-bin}" + install -Dm 644 "completions/${pkgname%-bin}.fish" -t "$pkgdir/usr/share/fish/vendor_completions.d" + install -Dm 644 "completions/_${pkgname%-bin}" -t "${pkgdir}/usr/share/zsh/site-functions" +} |