diff options
author | David Bailey | 2015-07-26 11:38:23 +0100 |
---|---|---|
committer | David Bailey | 2015-07-26 11:38:23 +0100 |
commit | 0baaa11506ebab293a34d2a3b803d815a7499313 (patch) | |
tree | 829a437742a682bba87c2983cf38def35d99eab3 | |
download | aur-zinnia-python.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cb07fe393d90 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = zinnia-python + pkgdesc = Simple, customizable and portable online hand recognition system based on Support Vector Machines, Python bindings + pkgver = 0.06 + pkgrel = 1 + url = http://zinnia.sourceforge.net/ + arch = i686 + arch = x86_64 + license = BSD + makedepends = python2 + depends = python2 + depends = zinnia>=0.06 + options = !emptydirs + source = http://downloads.sourceforge.net/project/zinnia/zinnia/0.06/zinnia-0.06.tar.gz + sha256sums = ece3af93f937282971634fd81d3e997f848e8cfa958220e26a4564ca064ac20b + +pkgname = zinnia-python + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5230d4dcec19 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: David Bailey <david.bailey@archlinux.net> + +pkgname=zinnia-python +pkgver=0.06 +pkgrel=1 +pkgdesc="Simple, customizable and portable online hand recognition system based on Support Vector Machines, Python bindings" +arch=('i686' 'x86_64') +url="http://zinnia.sourceforge.net/" +license=('BSD') +depends=('python2' 'zinnia>=0.06') +makedepends=('python2') +options=(!emptydirs) +source=("http://downloads.sourceforge.net/project/zinnia/zinnia/$pkgver/zinnia-$pkgver.tar.gz") +sha256sums=('ece3af93f937282971634fd81d3e997f848e8cfa958220e26a4564ca064ac20b') + +build() { + cd "$srcdir/zinnia-$pkgver/python" + python2 setup.py build +} + +package() { + cd "$srcdir/zinnia-$pkgver/python" + python2 setup.py install --prefix=$pkgdir/usr --optimize=1 + install -D -m644 $srcdir/zinnia-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |