# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ssh-getkey-gitlab
pkgver=0.2.0
pkgrel=1
pkgdesc="A script to be used as AuthorizedKeysCommand in sshd to look up user's public keys in GitLab or GitHub"
url="https://github.com/jirutka/ssh-getkey-gitlab"
arch="noarch"
license="MIT"
depends="ssl_client"
options="!check"  # no tests provided
source="https://github.com/jirutka/ssh-getkey-gitlab/archive/v$pkgver/$pkgname-$pkgver.tar.gz"

package() {
	make install DESTDIR="$pkgdir" prefix=/usr
}

sha512sums="fb813aa37897a11259b6923fd4d6106dfdb84accc924576726b30cc496e91c7a41eb074acc10b1c8b1b7bebfb3e66ec05d6b478a1544d5fb62bf8e1245796af1  ssh-getkey-gitlab-0.2.0.tar.gz"
