summaryrefslogtreecommitdiff
path: root/pcr/grail/PKGBUILD
blob: 665c0f270b9650aabfaaeef0ba3302b23ecc3fe4 (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
# Maintainer (Arch): Nicolas Quiénot <niQo @ aur>
# Contributor (Arch): Xiao-Long Chen <chenxiaolong@cxl.epac.to>
# Contributor (Arch): thn81 <root@scrat>

pkgname=grail
pkgver=3.1.0
pkgrel=1
pkgdesc="Gesture Recognition And Instantiation Library"
arch=('i686' 'x86_64')
url="https://launchpad.net/grail"
license=('GPL')
depends=('frame>=2.5.0' 'libxi')
makedepends=('inputproto')
conflicts=('utouch-grail')
replaces=('utouch-grail')
options=('!libtool')
source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  # Static library needed for tests
  ./configure --prefix=/usr # --disable-static
  MAKEFLAGS="-j1"
  make ${MAKEFLAGS}
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}/" install
}

md5sums=('f0f8c56430ee3717778dec6452201c33')