PKGBUILDs/extra/3ddesktop/PKGBUILD

26 lines
994 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 31368 2009-03-26 05:01:13Z eric $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=3ddesktop
pkgver=0.2.9
pkgrel=3
pkgdesc="a 3d virtual desktop switcher (opengl/mesa)"
arch=('i686' 'x86_64')
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
}