updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / 3ddesktop / PKGBUILD
blob0668e5413a665813a3c49790244536bf3432a32b
1 # Contributor: damir <damir@archlinux.org>
2 # Contributor: Ben <ben@benmazer.net>
4 pkgname=3ddesktop
5 pkgver=0.2.9
6 pkgrel=3
7 pkgdesc="a 3d virtual desktop switcher (opengl/mesa)"
8 arch=('i686' 'x86_64')
9 url="http://desk3d.sourceforge.net"
10 license=('GPL')
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')
17 build() {
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
22   make || return 1
23   make DESTDIR=$pkgdir install || return 1