summaryrefslogtreecommitdiff
path: root/community/flam3/PKGBUILD
blob: ec2af543ba4756df76164db594c41b92ca739c07 (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 33592 2010-11-26 06:08:59Z ebelanger $
# Maintainer: Eric Belanger <eric@archlinux.org>

pkgname=flam3
pkgver=3.0
pkgrel=1
pkgdesc="Tools to create/display fractal flames: algorithmically generated images and animations"
arch=('i686' 'x86_64')
url="http://flam3.com/"
license=('GPL')
depends=('libjpeg' 'libpng' 'libxml2')
options=('!libtool')
source=(http://flam3.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('0526e476338327f718d76e6f48ddc090')
sha1sums=('5b3317bdf51ecce7414a728c9d3735122a083b23')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}/src"
  sed -i 's|libpng12|libpng|g' flam3.pc.in
  ./configure --prefix=/usr --enable-shared
  make
}

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