summaryrefslogtreecommitdiff
path: root/extra/liquidwar/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-20 11:12:20 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-20 11:12:20 -0300
commit5c0a5f2b9fa7f1683f279728342aa7f5f0cf90a3 (patch)
treea55da6178b48e7abe9508505d3e92cf02a03da52 /extra/liquidwar/PKGBUILD
parentc56b2c50f5748090efb9f10f2a021e57a2455764 (diff)
parent1a136cf48dd7f710f38ff998182508f5a0d41c35 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/comix/PKGBUILD community/geany/PKGBUILD community/gnome-do-docklets/PKGBUILD community/gnome-do-plugins/PKGBUILD community/gnome-system-tools/PKGBUILD community/gnustep-make/PKGBUILD community/gtweakui/PKGBUILD community/hwinfo/PKGBUILD community/kungfu/PKGBUILD community/liboauth/PKGBUILD community/liboobs/PKGBUILD community/lua-lzlib/PKGBUILD community/mcdp/PKGBUILD community/mingw32-gcc-base/PKGBUILD community/mingw32-runtime/PKGBUILD community/mplayer2/PKGBUILD community/pdf2svg/PKGBUILD community/perl-data-dumper/PKGBUILD community/perl-digest-md5/PKGBUILD community/perl-perlio-eol/PKGBUILD community/perl-xml-libxslt/PKGBUILD community/python-cherrypy/PKGBUILD community/python-pexpect/PKGBUILD community/python-pyro/PKGBUILD community/python2-cherrypy/PKGBUILD community/rexima/PKGBUILD community/shp2svg/PKGBUILD community/system-tools-backends/PKGBUILD community/tracker/PKGBUILD community/virtualbox/PKGBUILD core/bridge-utils/PKGBUILD extra/avidemux/PKGBUILD extra/beagle/PKGBUILD extra/bug-buddy/PKGBUILD extra/dssi/PKGBUILD extra/evolution-sharp/PKGBUILD extra/evolution-webcal/PKGBUILD extra/feh/PKGBUILD extra/ffmpeg/PKGBUILD extra/gnome-mag/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/gnutls/PKGBUILD extra/gok/PKGBUILD extra/gpsd/PKGBUILD extra/gstreamer0.10-ugly/PKGBUILD extra/hyphen/PKGBUILD extra/kdelibs/PKGBUILD extra/keytouch-editor/PKGBUILD extra/keytouch/PKGBUILD extra/koffice/PKGBUILD extra/krusader/PKGBUILD extra/libbeagle/PKGBUILD extra/libffi/PKGBUILD extra/libgnomeuimm/PKGBUILD extra/libreoffice/PKGBUILD extra/m17n-lib/PKGBUILD extra/mtr/PKGBUILD extra/openbabel/PKGBUILD extra/poppler/PKGBUILD extra/pulseaudio/PKGBUILD extra/rox/PKGBUILD extra/transmission/PKGBUILD extra/xf86-input-synaptics/PKGBUILD extra/xorg-server/PKGBUILD extra/xorg-xinit/PKGBUILD kde-unstable/calligra/PKGBUILD libre/icecat/PKGBUILD libre/linux-libre/PKGBUILD multilib/lib32-ncurses/PKGBUILD multilib/lib32-openssl/PKGBUILD multilib/lib32-talloc/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'extra/liquidwar/PKGBUILD')
-rw-r--r--extra/liquidwar/PKGBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/extra/liquidwar/PKGBUILD b/extra/liquidwar/PKGBUILD
index 6e62ae215..5f12019fc 100644
--- a/extra/liquidwar/PKGBUILD
+++ b/extra/liquidwar/PKGBUILD
@@ -1,29 +1,30 @@
-# $Id: PKGBUILD 63784 2010-01-18 15:14:56Z ibiru $
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Maintainer: Jason Chu <jason@archlinux.org>
+# $Id: PKGBUILD 140692 2011-10-18 03:46:14Z eric $
# Maintainer: Jeff Mickey <jeff@archlinux.org>
pkgname=liquidwar
pkgver=5.6.4
-pkgrel=4
+pkgrel=5
pkgdesc="A unique multiplayer wargame"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.ufoot.org/liquidwar/"
license=('GPL')
-depends=('allegro>=4.4.0.1')
-makedepends=('python')
+depends=('allegro4')
+makedepends=('python2')
install=liquidwar.install
-source=(http://www.ufoot.org/download/$pkgname/v5/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('6917dd1026e6685404ffbd086f8ba374')
-sha1sums=('a3006c4da9517c3af3b7bf165b2c86fa369a71c6')
+source=(http://www.ufoot.org/download/$pkgname/v5/$pkgver/$pkgname-$pkgver.tar.gz
+ http://www.ufoot.org/sig/$pkgname-$pkgver.tar.gz.sig)
+sha1sums=('a3006c4da9517c3af3b7bf165b2c86fa369a71c6'
+ 'a262967d60e0f04ac5b99693144ef6b0038bb6c4')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's/python/python2/' doc/Makefile.in
[ "$CARCH" == "x86_64" ] && EXTRAOPTS="--disable-asm"
- ./configure --prefix=/usr --disable-doc-ps --disable-doc-pdf --disable-doc-php3 $EXTRAOPTS || return 1
- sed -i 's|$(EXTERN_LIBS)|$(EXTERN_LIBS) -lm|' src/Makefile || return 1
- make GAMEDIR=/usr/bin DATADIR=/usr/share/$pkgname || return 1
- make DESTDIR="$pkgdir" DATADIR=/usr/share/$pkgname install || return 1
- mv "$pkgdir"/usr/games/* "$pkgdir/usr/bin/"
- rmdir "${pkgdir}/usr/games"
+ LIBS='-lm' PYTHON=yes ./configure --prefix=/usr $EXTRAOPTS
+ make GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar install_nolink
}