blob: a44b368fe648dc3c197564ba407ff0380da1e044 (
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
35
|
# $Id: PKGBUILD 199875 2013-11-17 22:02:34Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=xaos
pkgver=3.6
pkgrel=1
pkgdesc="A fast portable real-time interactive fractal zoomer"
arch=('i686' 'x86_64')
url="http://matek.hu/xaos/"
license=('GPL')
depends=('gsl' 'libpng' 'aalib')
options=('!makeflags')
install=xaos.install
source=(http://downloads.sourceforge.net/sourceforge/xaos/${pkgname}-${pkgver}.tar.gz
xaos-3.5-build-fix-i686.patch)
sha1sums=('0c68d25c4f9c8eaf557e37d9e4586a04ab56d7a0'
'd2ea8f0460c79c47fb289a4c2f87fe5c44057f9d')
prepare() {
cd ${pkgname}-${pkgver}
if [[ $CARCH == "i686" ]]; then
patch -p1 -i ../xaos-3.5-build-fix-i686.patch
fi
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --with-gsl --with-aa-driver
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|