summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlothar-mar2015-06-28 18:32:24 +0100
committerlothar-mar2015-06-28 18:32:24 +0100
commit80ef06e1313c6d949d8c6b6ec9594530fa0a6c85 (patch)
tree81032a56315022c4603ed6a310a7bfe9be5d45b9
downloadaur-80ef06e1313c6d949d8c6b6ec9594530fa0a6c85.tar.gz
Initial commit.
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD37
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c3bcbb8f5f2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = ofxparse-git
+ pkgdesc = Ofxparse is a parser for Open Financial Exchange (.ofx) format files.
+ pkgver = 0
+ pkgrel = 3
+ url = https://github.com/jseutter/ofxparse
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ depends = python2>=2.7.6
+ depends = python2-nose
+ depends = python2-coverage
+ depends = python2-beautifulsoup4
+ provides = ofxparse
+ conflicts = ofxparse
+ source = ofxparse::git://github.com/jseutter/ofxparse.git
+ md5sums = SKIP
+
+pkgname = ofxparse-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6b1bc428459
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Lothar_m <lothar_m at riseup dot net>
+
+_pkgname=ofxparse
+pkgname=$_pkgname-git
+pkgver=0
+pkgrel=3
+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
+}
+