summaryrefslogtreecommitdiff
path: root/extra/xaos
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xaos')
-rw-r--r--extra/xaos/ChangeLog24
-rw-r--r--extra/xaos/PKGBUILD24
-rw-r--r--extra/xaos/xaos.install20
3 files changed, 68 insertions, 0 deletions
diff --git a/extra/xaos/ChangeLog b/extra/xaos/ChangeLog
new file mode 100644
index 000000000..7554cd7b3
--- /dev/null
+++ b/extra/xaos/ChangeLog
@@ -0,0 +1,24 @@
+2010-02-06 Eric Belanger <eric@archlinux.org>
+
+ * xaos 3.5-3
+ * Added aalib support
+ * Removed unneeded depends
+ * Improved description
+
+2010-01-19 Eric Belanger <eric@archlinux.org>
+
+ * xaos 3.5-2
+ * Rebuilt for libpng 1.4 and libjpeg 8
+
+2009-07-21 Eric Belanger <eric@archlinux.org>
+
+ * xaos 3.5-1
+ * Upstream update
+ * Added texinfo depends
+
+2008-11-08 Eric Belanger <eric@archlinux.org>
+
+ * xaos 3.4-1
+ * Upstream update
+ * Added install scriptlet for info file
+ * Added ChangeLog
diff --git a/extra/xaos/PKGBUILD b/extra/xaos/PKGBUILD
new file mode 100644
index 000000000..4f958385b
--- /dev/null
+++ b/extra/xaos/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 67322 2010-02-06 10:00:38Z eric $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
+
+pkgname=xaos
+pkgver=3.5
+pkgrel=3
+pkgdesc="A fast portable real-time interactive fractal zoomer"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/xaos/"
+license=('GPL')
+depends=('gsl' 'libpng' 'aalib')
+options=('!makeflags')
+install=xaos.install
+source=(http://downloads.sourceforge.net/sourceforge/xaos/${pkgname}-${pkgver}.tar.gz)
+md5sums=('465d1469b276501a58bf325e493ea591')
+sha1sums=('6d16a58187fba7276e6bd0547cc2fd6bb073b801')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --with-gsl --with-aa-driver || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+}
diff --git a/extra/xaos/xaos.install b/extra/xaos/xaos.install
new file mode 100644
index 000000000..1de05a018
--- /dev/null
+++ b/extra/xaos/xaos.install
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(xaos.info.gz)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}