summaryrefslogtreecommitdiff
path: root/extra/xaos/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
committerroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
commitda0a0d88caa1bf934ebf314ef86e15928dbb027b (patch)
treeb7c57ac9667de10c72390e0d81654fffbe47c42d /extra/xaos/PKGBUILD
parentffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff)
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'extra/xaos/PKGBUILD')
-rw-r--r--extra/xaos/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/extra/xaos/PKGBUILD b/extra/xaos/PKGBUILD
index 0daa23321..32e9c40a3 100644
--- a/extra/xaos/PKGBUILD
+++ b/extra/xaos/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 148968 2012-02-05 11:58:17Z ibiru $
+# $Id: PKGBUILD 184451 2013-05-06 19:40:17Z foutrelis $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=xaos
pkgver=3.5
-pkgrel=5
+pkgrel=6
pkgdesc="A fast portable real-time interactive fractal zoomer"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/xaos/"
@@ -11,18 +11,27 @@ 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)
+source=(http://downloads.sourceforge.net/sourceforge/xaos/${pkgname}-${pkgver}.tar.gz \
+ xaos-3.5-libpng15.patch xaos-3.5-build-fix-i686.patch)
sha1sums=('6d16a58187fba7276e6bd0547cc2fd6bb073b801'
- '6c51cb2ee1c5f28973680ffc3a040c2cea65fd33')
+ '6c51cb2ee1c5f28973680ffc3a040c2cea65fd33'
+ 'd2ea8f0460c79c47fb289a4c2f87fe5c44057f9d')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ cd ${pkgname}-${pkgver}
patch -p0 -i ../xaos-3.5-libpng15.patch
+ if [[ $CARCH == "i686" ]]; then
+ patch -p1 -i ../xaos-3.5-build-fix-i686.patch
+ fi
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr --with-gsl --with-aa-driver
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}