blob: 32e9c40a35a514a71c443b63a26d3ec144de9d3a (
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
36
37
|
# $Id: PKGBUILD 184451 2013-05-06 19:40:17Z foutrelis $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=xaos
pkgver=3.5
pkgrel=6
pkgdesc="A fast portable real-time interactive fractal zoomer"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/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-libpng15.patch xaos-3.5-build-fix-i686.patch)
sha1sums=('6d16a58187fba7276e6bd0547cc2fd6bb073b801'
'6c51cb2ee1c5f28973680ffc3a040c2cea65fd33'
'd2ea8f0460c79c47fb289a4c2f87fe5c44057f9d')
prepare() {
cd ${pkgname}-${pkgver}
patch -p0 -i ../xaos-3.5-libpng15.patch
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
}
|