summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a1b7f179005b53961669abc52769c3e11feee99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: exu <aur _a_ frm01 _d_ net>

pkgname=ofxstatement-iso20022-git
pkgver=0.7.0.r1.g3f2ef51
pkgrel=1
pkgdesc="Plugin to read ISO-20022 formatted statements."
arch=('any')
url="https://github.com/kedder/ofxstatement-iso20022"
license=('GPL3')
depends=('ofxstatement')
makedepends=('git')
source=('git+https://github.com/kedder/ofxstatement-iso20022.git')
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd "$srcdir/${pkgname%-git}"
    python setup.py install --root="$pkgdir" --optimize=1
}