summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64ffdbf4362550763b90397a3dbe007467e4c38f (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
# Maintainer: Fabien Dubosson <fabien.dubosson@gmail.com>

pkgname="budgetwarrior"
pkgver="1.0.1"
pkgrel="2"
pkgdesc="Simple command line utility to helps keeping track of your expenses and the state of your budget."
url="https://github.com/wichtounet/budgetwarrior"
license=('MIT')
arch=('i686' 'x86_64')
makedepends=('clang')
depends=('util-linux' 'openssl')
changelog="ChangeLog"
source=("git://github.com/wichtounet/budgetwarrior.git#tag=${pkgver}")
md5sums=('SKIP')

prepare() {
    cd "${srcdir}/${pkgname}/"

    git submodule init
    git submodule update
}

build() {
    cd "${srcdir}/${pkgname}/"

    make
}

package() {
    cd "${srcdir}/${pkgname}/"

    install -d "${pkgdir}/usr/bin"
    install -d "${pkgdir}/usr/share/man/man3"
    install -d "${pkgdir}/usr/share/zsh/site-functions/"
    install -d "${pkgdir}/etc/bash_completion.d"
    make prefix="${pkgdir}/usr" install
}

# vim:set ts=4 sw=4 et: