blob: f1c885d6c43bfc3d82be33452f0106af087d7681 (
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
|
# Maintainer: WorMzy Tykashi <wormzy.tykashi@gmail.com>
pkgname=ssh-askpass-fullscreen
pkgver=1.3
pkgrel=1
pkgdesc="A small SSH Askpass replacement written with GTK2"
url="https://github.com/atj/ssh-askpass-fullscreen"
arch=('i686' 'x86_64')
license=('GPL')
provides=('x11-ssh-askpass')
conflicts=('x11-ssh-askpass')
depends=('gtk2' 'openssh')
source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz
ssh-askpass-fullscreen.sh)
md5sums=('77cc0df4994ab19280e346f0c9f95c7a'
'23a0f7bba208252cfef4e3b8206b31a3')
build() {
cd "${pkgname}-${pkgver}/src"
gcc -o ssh-askpass-fullscreen ssh-askpass-fullscreen.c $(pkg-config --libs --cflags gtk+-2.0 x11)
}
package() {
install -D -m755 "${pkgname}-${pkgver}/src/ssh-askpass-fullscreen" "${pkgdir}/usr/lib/openssh/ssh-askpass-fullscreen"
install -D -m755 "ssh-askpass-fullscreen.sh" "${pkgdir}/etc/profile.d/ssh-askpass-fullscreen.sh"
}
|