blob: 9a693f389fa67aa92a5a03f8fd3f0adbc5a9d5b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=pinentry-git
pkgver=1.2.1.r21.g21e8533
pkgrel=2
pkgdesc="A small collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner"
arch=('i686' 'x86_64')
url="https://gnupg.org/software/pinentry/index.html"
license=('GPL2')
depends=('glibc' 'glib2' 'libassuan' 'libcap' 'libsecret' 'ncurses')
makedepends=('git' 'efl' 'gcr' 'gtk2' 'qt5-base')
provides=("pinentry=$pkgver")
conflicts=('pinentry')
source=("git+https://dev.gnupg.org/source/pinentry.git"
"pinentry.bin::https://gitlab.archlinux.org/archlinux/packaging/packages/pinentry/-/raw/main/pinentry"
"preexec::https://gitlab.archlinux.org/archlinux/packaging/packages/pinentry/-/raw/main/preexec")
sha256sums=('SKIP'
'SKIP'
'SKIP')
pkgver() {
cd "pinentry"
git describe --long --tags | sed 's/^pinentry-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "pinentry"
./autogen.sh --force
./configure \
--prefix="/usr" \
--enable-maintainer-mode \
--enable-pinentry-tty \
--enable-pinentry-curses \
--enable-fallback-curses \
--enable-pinentry-efl \
--enable-pinentry-emacs \
--enable-pinentry-gnome3 \
--enable-pinentry-gtk2 \
--enable-pinentry-qt \
--enable-libsecret
make
}
package() {
cd "pinentry"
make DESTDIR="$pkgdir" install
install -Dm755 "$srcdir/pinentry.bin" "$pkgdir/usr/bin/pinentry"
install -Dm755 "$srcdir/preexec" -t "$pkgdir/etc/pinentry"
}
|