updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / glsldevil / PKGBUILD
blob3e48a7a3db41042d821500750d8ffd05f046b7c2
1 # Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
2 pkgname=glsldevil
3 pkgver=1.1.5
4 pkgrel=1
5 pkgdesc="A tool for debugging the OpenGL shader pipeline"
6 arch=('i686' 'x86_64')
7 url="http://www.vis.uni-stuttgart.de/glsldevil/"
8 license=('custom')
9 depends=('qt')
10 source=(http://www.vis.uni-stuttgart.de/glsldevil/$pkgname-$pkgver.tar.gz \
11         http://www.vis.uni-stuttgart.de/glsldevil/glslDevil.png \
12         glsldevil.desktop glsldevil)
13 md5sums=('2645dbcc17434e7dac7ee6ce61ab2f9b' 'd6e6818f32dab69a73f3019908676638'
14          'bef1e6d2bb78326e43c80531bfbd3846' '18fd78dde1b0917e6bcafce127fc81e0')
16 build() {
17   cd $srcdir/$pkgname-$pkgver
19   if [ "${CARCH}" = "i686" ]; then
20     cd release32
21   elif [ "${CARCH}" = "x86_64" ]; then
22     cd release64
23   fi
25   chmod -R +x glsldb libs
26   chmod -R +r .
27   mkdir -p $pkgdir/opt/glsldevil $pkgdir/usr/bin
28   cp -R glsldb libs $pkgdir/opt/glsldevil
29   install -m755 $srcdir/glsldevil $pkgdir/usr/bin
31   # Installing icon and desktop file
32   install -D -m644 $srcdir/glsldevil.desktop $pkgdir/usr/share/applications/glsldevil.desktop
33   install -D -m644 $srcdir/glslDevil.png $pkgdir/usr/share/pixmaps/glsldevil.png
35   # Install License
36   install -D -m 644 license.txt \
37   $pkgdir/usr/share/licenses/$pkgname/license.txt  
40 # vim:set ts=2 sw=2 et: