diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-05 11:13:43 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-05 11:13:43 -0300 |
commit | 58d6937e71aea203f6693a68146018f950922fbc (patch) | |
tree | 3b53b76f930f60717debca5e0d612eeab0279b39 /extra/bzflag | |
parent | d07d53d7af1e9694d9558783841bc2df3124a90f (diff) | |
parent | f651180e6b1ac9508ec0d1d9b94972de776020a9 (diff) |
I don't understand gcc/PKGBUILD.mips64el
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/addresses/PKGBUILD
community/chmsee/PKGBUILD
community/coin/PKGBUILD
community/critterding/PKGBUILD
community/distcc/PKGBUILD
community/djview4/PKGBUILD
community/freedroid/PKGBUILD
community/gnumail/PKGBUILD
community/gyachi/PKGBUILD
community/java-oracle/PKGBUILD
community/liboop/PKGBUILD
community/ltris/PKGBUILD
community/nepim/PKGBUILD
community/pantomime/PKGBUILD
community/pyxattr/PKGBUILD
community/soqt/PKGBUILD
community/tilda/PKGBUILD
community/unrealircd/PKGBUILD
community/uqm/PKGBUILD
core/dnsutils/PKGBUILD
core/gcc/PKGBUILD.mips64el
core/vpnc/PKGBUILD
extra/apache/PKGBUILD
extra/bind/PKGBUILD
extra/bzflag/PKGBUILD
extra/ccache/PKGBUILD
extra/claws-mail-extra-plugins/PKGBUILD
extra/clutter-gst/PKGBUILD
extra/cups/PKGBUILD
extra/doxygen/PKGBUILD
extra/fam/PKGBUILD
extra/fcitx/PKGBUILD
extra/gdk-pixbuf2/PKGBUILD
extra/geoip/PKGBUILD
extra/gtk2/PKGBUILD
extra/icedtea-web/PKGBUILD
extra/libffi/PKGBUILD
extra/libfwbuilder/PKGBUILD
extra/libmpd/PKGBUILD
extra/libreoffice/PKGBUILD
extra/mesa/PKGBUILD
extra/pygobject2/PKGBUILD
extra/qt/PKGBUILD
extra/samba/PKGBUILD
extra/wireshark/PKGBUILD
extra/xulrunner/PKGBUILD
multilib-testing/lib32-keyutils/PKGBUILD
multilib-testing/lib32-udev/PKGBUILD
multilib/lib32-gtk2/PKGBUILD
multilib/lib32-keyutils/PKGBUILD
multilib/lib32-libcups/PKGBUILD
multilib/lib32-qt/PKGBUILD
multilib/wine/PKGBUILD
multilib/wine_gecko/PKGBUILD
testing/dash/PKGBUILD
testing/libssh2/PKGBUILD
Diffstat (limited to 'extra/bzflag')
-rw-r--r-- | extra/bzflag/PKGBUILD | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/extra/bzflag/PKGBUILD b/extra/bzflag/PKGBUILD index b0f79e140..35af04bad 100644 --- a/extra/bzflag/PKGBUILD +++ b/extra/bzflag/PKGBUILD @@ -1,30 +1,35 @@ -# $Id: PKGBUILD 84161 2010-06-26 23:01:03Z kevin $ +# $Id: PKGBUILD 136398 2011-08-29 05:25:50Z bisson $ # Contributor: Damir Perisa <damir.perisa@bluewin.ch> -# Maintainer: Kevin Piche <kevin@archlinux.org> +# Contributor: Kevin Piche <kevin@archlinux.org> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=bzflag -pkgver=2.0.16 +pkgver=2.4.0 pkgrel=1 -pkgdesc="A multiplayer 3D tank battle game" -depends=('curl' 'mesa' 'sdl') -arch=('i686' 'x86_64' 'mips64el') +pkgdesc='Multiplayer 3D tank battle game' +url='http://bzflag.org/' license=('LGPL') -options=(!libtool) -url="http://www.bzflag.org" -source=(http://downloads.sourceforge.net/sourceforge/bzflag/$pkgname-$pkgver.tar.bz2) -md5sums=('161b973bee586d43ebff4695dfb8c359') +options=('!libtool') +arch=('i686' 'x86_64' 'mips64el') +depends=('curl' 'glew' 'mesa' 'sdl') +source=("http://downloads.sourceforge.net/project/bzflag/bzflag%20source/${pkgver}/bzflag-${pkgver}.tar.bz2") +sha1sums=('af469d63af7143479176ea0ac91ce2eaa6e4561f') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make + + cd misc + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 + make DESTDIR="${pkgdir}" install - # gnome menu entry and icon. - cd misc - make || return 1 - mkdir -p ${pkgdir}/usr/share/{applications,pixmaps} - install -m644 bzflag.desktop $pkgdir/usr/share/applications/bzflag.desktop - install -m644 ../data/bzflag-48x48.png $pkgdir/usr/share/pixmaps/bzflag-48x48.png + install -Dm644 misc/bzflag.desktop "${pkgdir}"/usr/share/applications/bzflag.desktop + install -Dm644 data/bzflag-48x48.png "${pkgdir}"/usr/share/pixmaps/bzflag-48x48.png } |