-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPKGBUILD
47 lines (40 loc) · 963 Bytes
/
PKGBUILD
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer: Dan Fuhry <[email protected]>
pkgname=openssh-ldap-authkeys
pkgver=0.2.0
pkgrel=1
pkgdesc="Python script to generate SSH authorized_keys files using an LDAP directory"
arch=('any')
url="https://github.com/fuhry/openssh-ldap-authkeys"
license=('MIT')
groups=()
depends=(python3 python-dnspython python-ldap python-yaml)
makedepends=('python3' 'git') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("olak::git+file://$PWD#branch=master")
noextract=()
md5sums=('SKIP')
# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.
pkgver() {
cd "$srcdir/olak"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
:
}
build() {
cd "$srcdir/olak"
python3 setup.py build
}
check() {
:
}
package() {
cd "$srcdir/olak"
python3 setup.py install --root "${pkgdir}"
}