Subject: testing/x11-ssh-askpass:new aport

From: altffour <[email-masked]>
Date: Wed, 04 Aug 2021 14:15:34 +0000

From 38e106fc5325199f53cc430295b80df84e59f23e Mon Sep 17 00:00:00 2001
From: ayham <[email-masked]>
Date: Wed, 4 Aug 2021 16:52:06 +0300
Subject: [PATCH] testing/x11-ssh-askpass: new aport

https://github.com/sigmavirus24/x11-ssh-askpass
Minimal X11 password prompt, intended for openssh.
---
 testing/x11-ssh-askpass/APKBUILD | 34 ++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 testing/x11-ssh-askpass/APKBUILD

diff --git a/testing/x11-ssh-askpass/APKBUILD b/testing/x11-ssh-askpass/APKBUILD
new file mode 100644
index 0000000000..e463452e3f
--- /dev/null
+++ b/testing/x11-ssh-askpass/APKBUILD
@@ -0,0 +1,34 @@
+pkgname=x11-ssh-askpass
+pkgver=1.2.4.1
+pkgrel=0
+pkgdesc="minimal x11 password prompt"
+url="https://github.com/sigmavirus24/x11-ssh-askpass"
+arch="all"
+license="README"
+depends="libxt libx11 libsm libice"
+makedepends="libx11-dev libsm-dev libice-dev libxt-dev imake xorg-cf-files"
+subpackages="$pkgname-doc"
+source="https://github.com/sigmavirus24/x11-ssh-askpass/archive/refs/tags/1.2.4.1.zip"
+options="!check" # x11-ssh-askpass has no tests to be run
+
+build() {
+		./configure \
+				--build=$CBUILD \
+				--host=$CHOST \
+				--prefix=/usr \
+				--sysconfdir=/etc \
+				--mandir=/usr/share/man \
+				--localstatedir=/var
+}
+
+package() {
+		xmkmf
+		make DESTDIR="$pkgdir" includes
+		make DESTDIR="$pkgdir"
+		make DESTDIR="$pkgdir" install
+		make DESTDIR="$pkgdir" install.man
+}
+
+sha512sums="
+318dbcdef0558a5bc7a6be13d248a00c1fea2fd50b48beccc6038fc0abbe9f1e5d06090e6adc75e2cbf80230423653197f0facf15d3748497bcf7868888a34ed  1.2.4.1.zip
+"
--
2.32.0