summaryrefslogtreecommitdiff
path: root/community/zinnia/PKGBUILD
blob: 48784f97b14c75555b1c33e9d239c74fbcde2687 (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
# $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"
}