mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
30 lines
893 B
Bash
30 lines
893 B
Bash
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
|
# Contributor : Damir Perisa <damir.perisa@bluewin.ch>
|
|
|
|
pkgname=celestia
|
|
pkgver=1.6.0
|
|
pkgrel=1
|
|
pkgdesc="Real-time space simulation"
|
|
arch=('arm')
|
|
license=('GPL')
|
|
url="http://www.shatters.net/celestia/"
|
|
depends=('gtk2' 'libtheora' 'lua' 'gtkglext' 'glut' 'libxmu' 'mesa' 'libjpeg>=7')
|
|
options=('!makeflags')
|
|
source=(http://downloads.sourceforge.net/sourceforge/celestia/${pkgname}-${pkgver}.tar.gz
|
|
celestia-1.5.1-gcc44.patch)
|
|
md5sums=('9b96a8e7666ab5a26f032b9d605e023d'
|
|
'0c606dbd3a641afb1b0725428db854c8')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
# build patch
|
|
patch -Np0 < ${srcdir}/celestia-1.5.1-gcc44.patch || return 1
|
|
|
|
./configure --prefix=/usr \
|
|
--with-lua=/usr \
|
|
--datadir=/usr/share \
|
|
--with-gtk
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|