🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
pkgname: sshaskpass
pkgver: '9.8p1'
pkgrel: '2'
pkgdesc: 'X service to grab password for packages'
url: 'https://www.openssh.org/'
arch: x86_64
license:
- BSD
depends:
- 'hicolor-icon-theme'
- 'gtk-update-icon-cache'
makedepends:
- gtk2
- sudo
- 'xorg-libx11'
source:
- 'https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${pkgver}.tar.gz'
sha256sums:
- SKIP
hooks:
'post-install': |
name=sshaskpass
version=9.8p1
release=2
INFO="\033[1;36m"
NORMAL="\033[0;39m"
if [ -f etc/sudo.conf ]; then
if ( ! grep openssh/ssh-askpass /etc/sudo.conf > /dev/null );then
echo "# Path to askpass helper program
Path askpass /usr/libexec/openssh/ssh-askpass" >> etc/sudo.conf
printf "${INFO}/etc/sudo.conf adjusted${NORMAL}\n"
fi
fi
build: |
unset MAKEFLAGS
# Katalog źródłowy to openssh-${pkgver} (tarball OpenSSH). NIE zmieniamy
# nazwy `mv` – pagbuild tworzy wcześniej alias ${pkgname}-${pkgver} -> jedyny
# rozpakowany katalog i `mv openssh-... sshaskpass-...` padał na „File exists”.
cd openssh-${pkgver}
cd contrib
make gnome-ssh-askpass2
install -v -d -m755 ${PKGDIR}/usr/libexec/openssh/contrib
install -v -m755 gnome-ssh-askpass2 ${PKGDIR}/usr/libexec/openssh/contrib
ln -sv -f contrib/gnome-ssh-askpass2 \
${PKGDIR}/usr/libexec/openssh/ssh-askpass
install -Dm644 ../LICENCE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
package: |
true