summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ea74c05995471f5b4d022197abc2a57d180bca4 (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=libmesode-git
pkgver=410.148a0ff
pkgrel=1
pkgdesc="Fork of libstrophe (https://github.com/strophe/libstrophe) for use with Profanity XMPP Client"
arch=('i686' 'x86_64')
url="https://github.com/boothj5/libmesode"
license=('MIT' 'GPL3')
depends=('expat')
makedepends=('git' 'doxygen')
checkdepends=('check')
provides=('libmesode')
conflicts=('libmesode')
source=('git://github.com/boothj5/libmesode.git')
sha256sums=('SKIP')
options=('staticlibs')

pkgver() {
    cd "$srcdir/libmesode"
    echo $(git rev-list --count master).$(git rev-parse --short master)
}

build() {
    cd "$srcdir/libmesode"

    ./bootstrap.sh
    ./configure --prefix=/usr
    make
    doxygen
}

check() {
    cd "$srcdir/libmesode"
    make check
}

package() {
    cd "$srcdir/libmesode"
    make DESTDIR="${pkgdir}" install
}