summaryrefslogtreecommitdiff
path: root/community/flam3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/flam3/PKGBUILD')
-rw-r--r--community/flam3/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/flam3/PKGBUILD b/community/flam3/PKGBUILD
new file mode 100644
index 000000000..ec2af543b
--- /dev/null
+++ b/community/flam3/PKGBUILD
@@ -0,0 +1,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
+}