blob: 966ff6b884da62313a46a791ef06f1f00b9c2872 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
pkgname=heimdal
pkgdesc="Heimdal, an implementation of Kerberos and PKIX"
pkgver=7.99.r29746.g717ad8b04
pkgrel=1
url="https://www.heimdal.software/"
arch=(x86_64)
depends=(libcap-ng readline sqlite)
makedepends=(git libldap perl-json)
optdepends=(libldap)
provides=(heimdal=$pkgver)
source=("git+https://github.com/heimdal/heimdal")
sha256sums=('SKIP')
validpgpkeys=('E65941B71CF3C459A34FA89C45E7572A28CD8CC8')
pkgver() {
cd heimdal
local ver='7.99'
#local ver=$({ echo 'changequote([,])dnl'
# echo 'define(AC_INIT,$2)dnl'
# grep '^AC_INIT(.*)' configure.ac; } | m4)
local rev=$(git rev-list --count HEAD)
local git=$(git rev-parse --short HEAD)
echo "$ver.r$rev.g$git"
}
prepare() {
cd heimdal
./autogen.sh
}
build() {
cd heimdal
./configure \
--prefix="/usr/heimdal" \
--sbindir="/usr/heimdal/bin" \
--enable-hdb-openldap-module \
--enable-kcm \
;
make
}
package() {
cd heimdal
make DESTDIR="$pkgdir" install
}
# vim: ts=2:sw=2:et
|