summaryrefslogtreecommitdiff
path: root/community/flam3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/flam3/PKGBUILD')
-rw-r--r--community/flam3/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/flam3/PKGBUILD b/community/flam3/PKGBUILD
index 663f0f332..2dc0711ea 100644
--- a/community/flam3/PKGBUILD
+++ b/community/flam3/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 63556 2012-02-05 11:55:49Z ibiru $
+# $Id: PKGBUILD 90023 2013-05-06 19:36:52Z foutrelis $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=flam3
pkgver=3.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Tools to create/display fractal flames: algorithmically generated images and animations"
arch=('i686' 'x86_64')
url="http://flam3.com/"
@@ -14,14 +14,18 @@ source=(http://flam3.googlecode.com/files/${pkgname}-${pkgver}.tar.gz flam3-3.0.
sha1sums=('8814515f2e49e034e47cf97e9d2c0e932844abb9'
'17ece6cc00899e5135dad2bc79f97dfbd73107a6')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}/src"
+prepare() {
+ cd ${pkgname}-${pkgver}/src
patch -p1 -i ../../flam3-3.0.1-libpng15.patch
+}
+
+build() {
+ cd ${pkgname}-${pkgver}/src
./configure --prefix=/usr --enable-shared
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/src"
+ cd ${pkgname}-${pkgver}/src
make DESTDIR="${pkgdir}" install
}