summaryrefslogtreecommitdiff
path: root/extra/xaos/PKGBUILD
blob: 0daa23321933b20eaae571bd89cf56471f8b4e51 (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
# $Id: PKGBUILD 148968 2012-02-05 11:58:17Z ibiru $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=xaos
pkgver=3.5
pkgrel=5
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)
sha1sums=('6d16a58187fba7276e6bd0547cc2fd6bb073b801'
          '6c51cb2ee1c5f28973680ffc3a040c2cea65fd33')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -p0 -i ../xaos-3.5-libpng15.patch
  ./configure --prefix=/usr --with-gsl --with-aa-driver
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}