updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / utouch-grail-bzr / PKGBUILD
blobeb6ba3ee5acb365410e576a8f030f9189d54baa3
1 pkgname=utouch-grail-bzr
2 pkgver=166
3 pkgrel=1
4 pkgdesc="Gesture Recognition And Instantiation Library"
5 arch=('i686' 'x86_64')
6 url="https://launchpad.net/utouch-grail"
7 license=(GPL)
8 depends=('mtdev' 'utouch-evemu-bzr' 'utouch-frame-bzr')
9 makedepends=('bzr')
10 provides=('utouch-grail')
11 conflicts=('utouch-grail')
13 source=()
15 sha512sums=()
17 _bzrtrunk=lp:utouch-grail
18 _bzrmod=utouch-grail
20 build() {
21   cd "${srcdir}"
22   
23   if [ -d ${_bzrmod} ]; then
24     bzr up ${_bzrmod}
25     msg "The local files are updated."
26   else
27     bzr co ${_bzrtrunk} ${_bzrmod}
28   fi
30   cd "${srcdir}/${_bzrmod}"
31   ./autogen.sh
32   ./configure --prefix=/usr
33   make
36 package() {
37   cd "${srcdir}/${_bzrmod}"
38   make DESTDIR="$pkgdir" install