1 # Contributor: damir <damir@archlinux.org>
2 # Contributor: Ben <ben@benmazer.net>
7 pkgdesc="a 3d virtual desktop switcher (opengl/mesa)"
9 url="http://desk3d.sourceforge.net"
11 depends=('freetype2' 'libxi' 'libxmu' 'imlib2' 'glut')
12 backup=('etc/3ddesktop/3ddesktop.conf')
13 source=(http://downloads.sourceforge.net/sourceforge/desk3d/$pkgname-$pkgver.tar.gz 3ddesktop-0.2.9-gcc4.patch 3ddesktop-0.2.9-missing-include.patch)
14 md5sums=('da1e8b0d2c210a441676bbf663e694ee' '9aac53edbd737f827651470da4e5a7b2'\
15 'ae911ed543329f63fe50cfbb9021deeb')
18 cd $srcdir/$pkgname-$pkgver
19 patch -Np1 -i ../3ddesktop-0.2.9-gcc4.patch || return 1
20 patch -Np1 -i ../3ddesktop-0.2.9-missing-include.patch || return 1
21 ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/3ddesktop || return 1
23 make DESTDIR=$pkgdir install || return 1