summaryrefslogtreecommitdiff
path: root/community/flam3/PKGBUILD
blob: 19006c9c9a022229cf5eecf0f0e9e5b69f3e4dd2 (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
# $Id: PKGBUILD 63556 2012-02-05 11:55:49Z ibiru $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=flam3
pkgver=3.0.1
pkgrel=2
pkgdesc="Tools to create/display fractal flames: algorithmically generated images and animations"
arch=('i686' 'x86_64' 'mips64el')
url="http://flam3.com/"
license=('GPL3')
depends=('libjpeg' 'libpng' 'libxml2')
options=('!libtool')
source=(http://flam3.googlecode.com/files/${pkgname}-${pkgver}.tar.gz flam3-3.0.1-libpng15.patch)
sha1sums=('8814515f2e49e034e47cf97e9d2c0e932844abb9'
          '17ece6cc00899e5135dad2bc79f97dfbd73107a6')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}/src"
  patch -p1 -i ../../flam3-3.0.1-libpng15.patch
  ./configure --prefix=/usr --enable-shared
  make
}

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