aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ssh-getkey-ldap/APKBUILD
blob: dcb012f608f94086f043db1d8feb98ea038e2e41 (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
26
27
28
29
30
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ssh-getkey-ldap
pkgver=0.1.0
pkgrel=0
pkgdesc="A simple script to be used as AuthorizedKeysCommand in OpenSSH server to look up user's public keys in LDAP."
url="https://github.com/jirutka/ssh-getkey-ldap"
arch="noarch"
license="MIT"
depends="lua-ldap"
depends_dev=""
makedepends=""
install="$pkgname.post-install"
subpackages=""
source="saveas-http://github.com/jirutka/${pkgname}/archive/v${pkgver}.tar.gz/${pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	DESTDIR="$pkgdir" PREFIX="/usr" ./install || return 1
}

md5sums="5eb480083707e16ce05df7e5692092bb  ssh-getkey-ldap-0.1.0.tar.gz"
sha256sums="609880ae1f0363ce6e05d8d4533ccc5472dc883e7da2b1b90dc81216558d3b59  ssh-getkey-ldap-0.1.0.tar.gz"
sha512sums="4cf657a5a6bfde243f1db309d52d15b926c9b4c33d35336d1aa8460d62b841012696798a9913f62fa2020680eaa59954aeab449677fa990528ccae2172d9d59b  ssh-getkey-ldap-0.1.0.tar.gz"