jobcore/pinentry/PKGBUILD

65 lines
2.0 KiB
Bash
Raw Normal View History

2022-03-20 13:19:37 +01:00
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
2022-08-31 01:32:48 +02:00
# Maintainer : Joe Bo Run <joborun@disroot.org>
2022-03-20 13:19:37 +01:00
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
2022-08-31 01:32:48 +02:00
# Website : https://pozol.eu
2022-03-20 13:19:37 +01:00
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=pinentry
2022-08-31 01:32:48 +02:00
pkgver=1.2.1
2022-03-20 13:19:37 +01:00
pkgrel=01
pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol'
url='https://gnupg.org/related_software/pinentry/'
arch=('x86_64')
depends=(
'glibc' 'ncurses' 'libcap' 'libassuan' 'libsecret' 'glib2'
libsecret-1.so libcap.so libncursesw.so libassuan.so libglib-2.0.so)
makedepends=('gtk2' 'qt5-base' 'gcr')
optdepends=(
'gtk2: gtk2 backend'
'qt5-base: qt backend'
'gcr: gnome3 backend'
)
backup=('etc/pinentry/preexec')
source=("https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
'pinentry'
'preexec')
build() {
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--enable-pinentry-tty \
--enable-pinentry-curses \
--enable-fallback-curses \
--enable-pinentry-emacs \
--enable-pinentry-gtk2 \
--enable-pinentry-gnome3 \
--enable-pinentry-qt \
--enable-libsecret \
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm 755 ../pinentry -t "${pkgdir}/usr/bin"
install -Dm 755 ../preexec -t "${pkgdir}/etc/pinentry"
}
#---- license gpg-key sha256sums ----
license=('GPL')
2022-08-31 01:32:48 +02:00
validpgpkeys=(D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 # Werner Koch (dist sig)
6DAA6E64A76D2840571B4902528897B826403ADA # Werner Koch (dist signing 2020)
AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD) # Niibe Yutaka (GnuPG Release Key)
2022-03-20 13:19:37 +01:00
2022-08-31 01:32:48 +02:00
sha256sums=(457a185e5a85238fb945a955dc6352ab962dc8b48720b62fc9fa48c7540a4067 # pinentry-1.2.1.tar.bz2
22b5493faad409a5f4b25d07d74d228c67631110258e10094bd954b16e9e55e2 # pinentry-1.2.1.tar.bz2.sig
2022-03-20 13:19:37 +01:00
af7c27139b20a7f1b9a227f3663abb21bb2b954523352b7844da27db1b0c1c86 # pinentry
f428f08d77f1f7830eadb8435af282a833fc13d8b623b122eefd9d3b628bef90) # preexec
2022-08-31 01:32:48 +02:00