summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01dbf48d08c6d6971506cf2458ca819850a74981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Jakub Janeczko <jjaneczk@gmail.com>
pkgname=ofxstatement-polish-git
pkgver=r3.d1e49d7
pkgrel=1
pkgdesc="ofxstatement support for some Polish banks and financial institutions"
arch=('any')
url="https://github.com/yay6/ofxstatement-polish"
license=('GPL3')
depends=('ofxstatement')
makedepends=('git')
source=('git+https://github.com/yay6/ofxstatement-polish')
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname%-git}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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