blob: 21024f73512bb8ebb6a6bdef5e912cb8f7515fa7 (
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
|
# Maintainer: Lothar_m <lothar_m at riseup dot net>
_pkgname=ofxparse
pkgname=$_pkgname-git
pkgver=0
pkgrel=1
pkgdesc="Ofxparse is a parser for Open Financial Exchange (.ofx) format files."
arch=('i686' 'x86_64')
url="https://github.com/jseutter/ofxparse"
license=('MIT')
makedepends=('git')
depends=('python2>=2.7.6'
'python2-nose'
'python2-coverage'
'python2-beautifulsoup4')
#optdepends=('')
provides=($_pkgname)
conflicts=($_pkgname)
source=($_pkgname::git://github.com/jseutter/ofxparse.git)
md5sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $_pkgname
python2 setup.py build
}
package() {
cd $_pkgname
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
python2 setup.py install --root="$pkgdir" --optimize=1
}
|