updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / artoolkitplus / PKGBUILD
blob4242fc8be7f4d3eb569c401601e6616fc4aaa2c9
1 # Contributor: Renato Garcia <fgar.renatoATgmailDOTcom>
2 pkgname=artoolkitplus
3 pkgver=2.1.1
4 pkgrel=2
5 pkgdesc="Extended version of ARToolKit's vision code that adds features, but breaks compatibility."
6 arch=('i686' 'x86_64')
7 url="http://studierstube.icg.tu-graz.ac.at/handheld_ar/artoolkitplus.php"
8 license=('GPL')
9 depends=(gcc-libs)
10 makedepends=('scons' 'unzip')
11 options=()
12 source=(http://studierstube.icg.tu-graz.ac.at/handheld_ar/download/ARToolKitPlus_2.1.1.zip
13        SConstruct
14        sample_multi_SConscript
15        sample_simple_SConscript
16        src_SConscript
17        tools_IdPatGen_SConscript
18        gcc45.patch
19        include.patch)
20 noextract=(ARToolKitPlus_2.1.1.zip)
21 md5sums=('9caf300d1ece8a48558d16f3c7b523fb'
22          '7cbf0cab78a80495e64edac3801ce492'
23          '477d1cf2347e80b8dc358d17094f39ec'
24          'ddee38c8265c4723db58701dba93d42f'
25          '0fef7cc75787e00092cef7c6a0a338eb'
26          '4fd196ccd5f4892b860e50d5d9b0bca8'
27          'a2a7dc372a71907f15a0d5565cfa4c87'
28          '147998511788b080dea1ae1d71520e83')
30 build() {
31   cd "$srcdir"
32   unzip ARToolKitPlus_2.1.1.zip
34   mv sample_multi_SConscript sample/multi/SConscript
35   mv sample_simple_SConscript sample/simple/SConscript
36   mv src_SConscript src/SConscript
37   mv tools_IdPatGen_SConscript tools/IdPatGen/SConscript
39   patch -p0 < gcc45.patch
41   scons install prefix="$pkgdir"/usr || return 1
44 package()  {
45   cd "$startdir"
46   patch -p0 < include.patch
48   cd "$pkgdir"/usr/bin/
49   mv idpatgen artkp-idpatgen
50   mv multi artkp-multi
51   mv simple artkp-simple