[arch-commits] Commit in liquidwar/repos (3 files)
Eric Bélanger
eric at archlinux.org
Sat Oct 3 04:42:20 UTC 2009
Date: Saturday, October 3, 2009 @ 00:42:20
Author: eric
Revision: 53616
Merged revisions 356,53614 via svnmerge from
svn+ssh://gerolde.archlinux.org/srv/svn-packages/liquidwar/trunk
........
r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
Added svn:keywords to all PKGBUILDs
........
r53614 | eric | 2009-10-03 00:31:21 -0400 (Sat, 03 Oct 2009) | 2 lines
upgpkg: liquidwar 5.6.4-2
rebuilt (close FS#16308), FSH man pages, added docs, added python makedepends
........
Added:
liquidwar/repos/extra-i686/liquidwar.install
(from rev 53614, liquidwar/trunk/liquidwar.install)
Modified:
liquidwar/repos/extra-i686/ (properties)
liquidwar/repos/extra-i686/PKGBUILD
-------------------+
PKGBUILD | 32 ++++++++++++++++----------------
liquidwar.install | 16 ++++++++++++++++
2 files changed, 32 insertions(+), 16 deletions(-)
Property changes on: liquidwar/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
- /liquidwar/trunk:1
+ /liquidwar/trunk:1-53615
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2009-10-03 04:32:45 UTC (rev 53615)
+++ extra-i686/PKGBUILD 2009-10-03 04:42:20 UTC (rev 53616)
@@ -5,24 +5,24 @@
pkgname=liquidwar
pkgver=5.6.4
-pkgrel=1
-pkgdesc="Liquid War is a unique multiplayer wargame."
-arch=(i686 x86_64)
+pkgrel=2
+pkgdesc="A unique multiplayer wargame"
+arch=('i686' 'x86_64')
+url="http://www.ufoot.org/liquidwar/"
+license=('GPL')
depends=('allegro')
+makedepends=('python')
+install=liquidwar.install
source=(http://www.ufoot.org/download/$pkgname/v5/$pkgver/$pkgname-$pkgver.tar.gz)
-url="http://www.ufoot.org/liquidwar/"
-license=(GPL)
+md5sums=('6917dd1026e6685404ffbd086f8ba374')
+sha1sums=('a3006c4da9517c3af3b7bf165b2c86fa369a71c6')
-build()
-{
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr --disable-doc-txt --disable-doc-html \
- --disable-doc-info --disable-doc-ps --disable-doc-pdf --disable-doc-php3
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ [ "$CARCH" == "x86_64" ] && EXTRAOPTS="--disable-asm"
+ ./configure --prefix=/usr --disable-doc-ps --disable-doc-pdf --disable-doc-php3 $EXTRAOPTS || return 1
make GAMEDIR=/usr/bin DATADIR=/usr/share/$pkgname || return 1
- make DESTDIR=$startdir/pkg DATADIR=/usr/share/$pkgname install
- rm ${startdir}/pkg/usr/bin/*
- cp ${startdir}/pkg/usr/games/* ${startdir}/pkg/usr/bin/
- rm -r ${startdir}/pkg/usr/games
+ make DESTDIR="$pkgdir" DATADIR=/usr/share/$pkgname install || return 1
+ mv "$pkgdir"/usr/games/* "$pkgdir/usr/bin/"
+ rmdir "${pkgdir}/usr/games"
}
-md5sums=('6917dd1026e6685404ffbd086f8ba374')
-sha1sums=('a3006c4da9517c3af3b7bf165b2c86fa369a71c6')
Copied: liquidwar/repos/extra-i686/liquidwar.install (from rev 53614, liquidwar/trunk/liquidwar.install)
===================================================================
--- extra-i686/liquidwar.install (rev 0)
+++ extra-i686/liquidwar.install 2009-10-03 04:42:20 UTC (rev 53616)
@@ -0,0 +1,16 @@
+infodir=/usr/share/info
+file=(liquidwar.info.gz)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}
More information about the arch-commits
mailing list