[arch-commits] Commit in xaos/trunk (ChangeLog PKGBUILD xaos.install)
Eric Bélanger
eric at archlinux.org
Mon Nov 10 03:20:34 UTC 2008
Date: Sunday, November 9, 2008 @ 22:20:34
Author: eric
Revision: 18889
upgpkg: xaos 3.4-1
Upstream update, Added install scriptlet for info file, Added ChangeLog, PKGBUILD cleanup
Added:
xaos/trunk/ChangeLog
xaos/trunk/xaos.install
Modified:
xaos/trunk/PKGBUILD
--------------+
ChangeLog | 6 ++++++
PKGBUILD | 40 ++++++++++++++++------------------------
xaos.install | 18 ++++++++++++++++++
3 files changed, 40 insertions(+), 24 deletions(-)
Added: ChangeLog
===================================================================
--- ChangeLog (rev 0)
+++ ChangeLog 2008-11-10 03:20:34 UTC (rev 18889)
@@ -0,0 +1,6 @@
+2008-11-08 Eric Belanger <eric at archlinux.org>
+
+ * xaos 3.4-1
+ * Upstream update
+ * Added install scriptlet for info file
+ * Added ChangeLog
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-11-10 03:15:42 UTC (rev 18888)
+++ PKGBUILD 2008-11-10 03:20:34 UTC (rev 18889)
@@ -1,35 +1,27 @@
# $Id$
-# Maintainer: damir <damir at archlinux.org>
+# Maintainer: Eric Belanger <eric at archlinux.org>
# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
pkgname=xaos
-pkgver=3.3
-pkgrel=3
+pkgver=3.4
+pkgrel=1
pkgdesc="XaoS is a fast portable real-time interactive fractal zoomer"
arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/xaos/"
license=('GPL')
-url="http://xaos.theory.org/"
-depends=('slang' 'gsl' 'ncurses' 'libpng' 'zlib' 'aalib>=1.4rc5-5' 'gpm>=1.20.4' 'libxxf86vm' \
- 'libxxf86dga')
-source=("http://downloads.sourceforge.net/sourceforge/xaos/XaoS-$pkgver.tar.gz")
-md5sums=('c1156044a54638df32b1b163e051e3e0')
+depends=('slang' 'gsl' 'ncurses' 'libpng' 'zlib' 'aalib>=1.4rc5-5' 'gpm>=1.20.4' 'libxxf86vm' 'libxxf86dga')
+install=xaos.install
+source=(http://downloads.sourceforge.net/sourceforge/xaos/XaoS-${pkgver}.tar.gz)
+md5sums=('366fd8151e9642a0d9afce889912e388')
+sha1sums=('4e419715ae0479fa3a20ed5f48ede7ad222f2d10')
-
build() {
- cd $startdir/src/XaoS-$pkgver
- # Won't compile with asm defined. Doesn't seem to hurt performance
- # on my 2.8GHz P4 HT with 1G RAM though :)
- #
- #./configure --prefix=/usr --with-i386asm=yes
- ./configure --prefix=/usr
-
- # Many thanks to Patrick Kursawe for the GCC 3.4 patch
- #
- #/usr/bin/patch -Np1 -i ../gcc3.4.patch
-
- /usr/bin/make || return 1
- /usr/bin/make prefix=$startdir/pkg/usr \
- LOCALEDIR=$startdir/pkg/usr/share/locale install
+ cd ${srcdir}/XaoS-${pkgver}
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make prefix=${pkgdir}/usr \
+ LOCALEDIR=${pkgdir}/usr/share/locale install || return 1
- rm ${pkgdir}/usr/share/info/dir
+ rm ${pkgdir}/usr/share/info/dir || return 1
+ gzip ${pkgdir}/usr/share/info/* || return 1
}
Added: xaos.install
===================================================================
--- xaos.install (rev 0)
+++ xaos.install 2008-11-10 03:20:34 UTC (rev 18889)
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+filelist=(xaos.info.gz)
+
+post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
More information about the arch-commits
mailing list