summaryrefslogtreecommitdiff
path: root/community/egoboo
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-31 13:45:10 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-31 13:45:10 -0300
commit97a832ff546d30bb6eec34f23fd94aecab9ac738 (patch)
tree90bbef126bf86efce995dfa00dadd9707baa8222 /community/egoboo
parent9879fa51372849ca7b637a1c22010584ca552274 (diff)
parentf935ebf41c626e4832f86c5f3f7ed1cc35128f6b (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/egoboo/PKGBUILD extra/gnutls/PKGBUILD extra/kdelibs/PKGBUILD extra/maxima/PKGBUILD extra/phonon/PKGBUILD extra/rest/PKGBUILD extra/ristretto/PKGBUILD extra/samba/PKGBUILD extra/sbcl/PKGBUILD extra/xfce4-clipman-plugin/PKGBUILD extra/xfce4-notifyd/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to 'community/egoboo')
-rw-r--r--community/egoboo/PKGBUILD20
1 files changed, 6 insertions, 14 deletions
diff --git a/community/egoboo/PKGBUILD b/community/egoboo/PKGBUILD
index 4a2b991bb..0c5796b84 100644
--- a/community/egoboo/PKGBUILD
+++ b/community/egoboo/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 36333 2010-12-30 07:44:32Z lcarlier $
+# $Id: PKGBUILD 57498 2011-10-29 13:47:47Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Arkham <arkham at archlinux dot us>
@@ -7,13 +7,12 @@
pkgname=egoboo
pkgver=2.8.1
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
pkgdesc="An open-source action RPG/dungeon crawling adventure with OpenGL 3D graphics"
url="http://egoboo.sourceforge.net/"
-depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'physfs' 'enet')
-makedepends=('mesa')
+makedepends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'physfs' 'enet' 'mesa')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.png
$pkgname.desktop)
@@ -35,20 +34,13 @@ build() {
}
package() {
- cd "$srcdir/egoboo-$pkgver"
+ depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'physfs' 'enet' 'mesa' 'egoboo-data>=2.8.1')
- # Patch default depth to 24 and sound
- sed -i -e 's/\[COLOR_DEPTH\] : "32"/\[COLOR_DEPTH\] : "24"/g' \
- -e 's/\[Z_DEPTH\] : "32"/\[Z_DEPTH\] : "24"/g' \
- -e 's/\[OUTPUT_BUFFER_SIZE\] : "2548/\[OUTPUT_BUFFER_SIZE\] : "2048/g' \
- setup.txt
+ cd "$srcdir/egoboo-$pkgver"
- # Copy data and fix permissions
install -Dm755 src/game/egoboo-2.x $pkgdir/usr/bin/egoboo
- install -d $pkgdir/usr/share/{doc/,$pkgname}
- cp -rf controls.txt setup.txt basicdat/ modules/ $pkgdir/usr/share/$pkgname/
+ install -d $pkgdir/usr/share/doc
cp -rf doc/ $pkgdir/usr/share/doc/$pkgname/
- find $pkgdir/usr/share/$pkgname -type f -exec chmod 644 {} +
# Install icon and desktop files
install -Dm 644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png