ofxstatement-iso20022-git/PKGBUILD

24 lines
603 B
Bash

# 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
}