summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d88800b224feee0acf8c8f5378e82df361357b4e (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
pkgname=shaman-git
pkgver=2.0.0.α.r29.g18fc492
pkgrel=1

pkgdesc="A small, native C library and utility to fetch weather"
url="https://github.com/HalosGhost/shaman"
arch=('i686' 'x86_64')
license=('GPL2')

depends=('curl' 'jansson')
makedepends=('git' 'tup' 'clang' 'python-sphinx')

source=('git+https://github.com/HalosGhost/shaman.git')

sha256sums=('SKIP')

pkgver () {
    cd shaman
    git describe --long | sed -r 's/([^-]*-g)/r\1/; s/-/./g'
}

build () {
    cd shaman
    make
}

#check () {
#    cd shaman
#    make test
#}

package () {
    cd shaman
    make DESTDIR="$pkgdir" PREFIX='/usr' install
}