blob: 9f4a435711aca1560ec65e19f222640b5a365da0 (
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
|
pkgname=libstrophe-git
pkgver=273.cd92f69
pkgrel=1
pkgdesc="A simple, lightweight C library for writing XMPP clients"
arch=('i686' 'x86_64')
url="http://strophe.im/libstrophe/"
license=('MIT' 'GPL3')
depends=('expat')
makedepends=('git' 'doxygen')
checkdepends=('check')
provides=('libstrophe')
conflicts=('libstrophe')
source=('git://github.com/strophe/libstrophe.git')
sha256sums=('SKIP')
options=('staticlibs')
pkgver() {
cd "$srcdir/libstrophe"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "$srcdir/libstrophe"
./bootstrap.sh
./configure --prefix=/usr
make
doxygen
}
check() {
cd "$srcdir/libstrophe"
make check
}
package() {
cd "$srcdir/libstrophe"
make DESTDIR="${pkgdir}" install
}
|