blob: 87c4af8a6733ff99a33b80b003404512500ad06e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 63841 2010-01-18 21:47:42Z ibiru $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor : Damir Perisa <damir.perisa@bluewin.ch>
pkgname=celestia
pkgver=1.6.0
pkgrel=2
pkgdesc="Real-time space simulation"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.shatters.net/celestia/"
depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'mesa' 'libjpeg>=8')
options=('!makeflags')
source=(http://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz
celestia-1.5.1-gcc44.patch libpng14.patch)
md5sums=('9b96a8e7666ab5a26f032b9d605e023d'
'0c606dbd3a641afb1b0725428db854c8'
'829c0860659272a9f55aedf096ee4216')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# build patch
patch -Np0 < ${srcdir}/celestia-1.5.1-gcc44.patch || return 1
patch -Np1 -i ${srcdir}/libpng14.patch || return 1
./configure --prefix=/usr \
--with-lua=/usr \
--datadir=/usr/share \
--with-gtk
make || return 1
make DESTDIR=${pkgdir} install || return 1
}
|