# Maintainer: damir # Contributor: Ben pkgname=3ddesktop pkgver=0.2.9 pkgrel=3 pkgdesc="a 3d virtual desktop switcher (opengl/mesa)" arch=('arm') url="http://desk3d.sourceforge.net" license=('GPL') depends=('freetype2' 'libxi' 'libxmu' 'imlib2' 'glut') backup=('etc/3ddesktop/3ddesktop.conf') source=(http://downloads.sourceforge.net/sourceforge/desk3d/$pkgname-$pkgver.tar.gz 3ddesktop-0.2.9-gcc4.patch 3ddesktop-0.2.9-missing-include.patch) md5sums=('da1e8b0d2c210a441676bbf663e694ee' '9aac53edbd737f827651470da4e5a7b2' 'ae911ed543329f63fe50cfbb9021deeb') build() { cd $srcdir/$pkgname-$pkgver patch -Np1 -i ../3ddesktop-0.2.9-gcc4.patch || return 1 patch -Np1 -i ../3ddesktop-0.2.9-missing-include.patch || return 1 ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/3ddesktop || return 1 make || return 1 make DESTDIR=$pkgdir install || return 1 }