Package Details: pinentry-rofi 2.0.5-2

Git Clone URL: https://aur.archlinux.org/pinentry-rofi.git (read-only, click to copy)
Package Base: pinentry-rofi
Description: rofi-based pinentry implementation
Upstream URL: https://github.com/plattfot/pinentry-rofi
Licenses: custom:MIT
Submitter: arkhan
Maintainer: freswa
Last Packager: freswa
Votes: 5
Popularity: 0.46
First Submitted: 2017-10-12 01:32 (UTC)
Last Updated: 2023-12-12 19:21 (UTC)

Latest Comments

dreieck commented on 2023-12-12 18:13 (UTC) (edited on 2023-12-12 18:13 (UTC) by dreieck)

You need to add guile2.2 to the makedepends array, otherwise build() fails:

==> Starting build()...
[...]
checking for Guile site directory... /usr/share/guile/site
configure: error: 'guild' binary not found; please check your guile-2.x installation.
==> ERROR: A failure occurred in build().

(Package guile does not suffice.)

Regards!

tinywrkb commented on 2021-02-05 09:39 (UTC)

2.0.3-1 is failing to build in a chroot, AX_COMPUTE_RELATIVE_PATHS seems to need autoconf-archive.

Also, why are you running make in the package() function? this is just wrong. Please follow the packaging guidelines, see the PKGBUILD.5 man page.

The package() function is used to install files into the directory that will become the root directory of the built package
diff --git a/PKGBUILD b/PKGBUILD
index 53c096d..cc020d4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,7 @@ arch=('any')
 url='https://github.com/plattfot/pinentry-rofi'
 license=('custom:MIT')
 depends=('guile' 'rofi')
+makedepends=('autoconf-archive')
 source=("https://github.com/plattfot/pinentry-rofi/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
         LICENSE)
 b2sums=('ceaa90154e1de46e24bc3b9020e12394e1014fe0844729c1f75f6285572980610c22d1b4a62f34333a670472ab1aade03b5ce48a28ae139fea8a4995e12b778a'
@@ -18,9 +19,13 @@ prepare() {
   autoreconf -vif
 }

-package() {
+build() {
   cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
   DESTDIR="${pkgdir}" make install
 }

freswa commented on 2020-06-29 18:53 (UTC)

That should be fixed with -2. Upstream added some building steps and I forgot to test the package. Sry

mstruebing commented on 2020-06-29 08:29 (UTC)

/usr/bin/pinentry-rofi
/usr/bin/pinentry-rofi: line 1: syntax error near unexpected token `;;'
/usr/bin/pinentry-rofi: line 1: `;;  Copyright © 2016 Quentin "Sardem FF7" Glidic'

What's happening?

arkhan commented on 2019-01-22 13:52 (UTC)

Try https://github.com/plattfot/pinentry-rofi-aur

sim590 commented on 2018-04-28 09:36 (UTC) (edited on 2018-05-21 03:09 (UTC) by sim590)

~~Impossible to use. gpg-agent fails with:~~

gpg-agent[7579]: failed to unprotect the secret key: Operation cancelled
gpg-agent[7579]: failed to read the secret key
gpg-agent[7579]: command 'PKDECRYPT' failed: Operation cancelled <Pinentry>

~~The pinentry doesn't support the PKDECRYPT operation.~~

~~My installation must have been misconfigured. Never mind my comment.~~

Actually, I still have the same issue on another arch box. So I don't understand what's the issue. On the first box, the ruby package wasn't installed, so that was my fault, but now on the second box, gpg-agent keeps ouputing the PKDECRYPT failed message.