summaryrefslogtreecommitdiff
path: root/community/zinnia/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/zinnia/PKGBUILD')
-rw-r--r--community/zinnia/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/zinnia/PKGBUILD b/community/zinnia/PKGBUILD
new file mode 100644
index 000000000..48784f97b
--- /dev/null
+++ b/community/zinnia/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 81446 2012-12-21 04:42:33Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: Humbert Julien <julroy67 [AT] gmail.com>
+
+pkgname=zinnia
+pkgver=0.06
+pkgrel=2
+pkgdesc="Simple, customizable and portable online hand recognition system based on Support Vector Machines"
+arch=('i686' 'x86_64')
+url="http://zinnia.sourceforge.net/"
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('libtool')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('ece3af93f937282971634fd81d3e997f848e8cfa958220e26a4564ca064ac20b')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}