blob: 07942c788d5c2bad37e8e4462f1e03b7ec439525 (
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
|
# Maintainer: Toke Høiland-Jørgensen <toke@toke.dk>
_pkgname=cyrus-sasl-xoauth2
pkgname=${_pkgname}-git
pkgrel=1
pkgver=r24.36aabca54fd6
pkgdesc="XOAUTH2 mechanism plugin for cyrus-sasl"
arch=(x86_64)
url="https://github.com/moriyoshi/$_pkgname"
license=('MIT')
makedepends=('git')
depends=('libsasl')
provides=('cyrus-sasl-xoauth2')
conflicts=('cyrus-sasl-xoauth2')
source=(git+$url.git)
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=12 HEAD)"
}
build() {
cd "$_pkgname"
./autogen.sh
./configure --prefix=/usr
make
}
check() {
cd "$_pkgname"
make check
}
package() {
cd "$_pkgname"
make DESTDIR="$pkgdir/" install
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et:
|