diff options
Diffstat (limited to 'community/egoboo/PKGBUILD')
-rw-r--r-- | community/egoboo/PKGBUILD | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/community/egoboo/PKGBUILD b/community/egoboo/PKGBUILD deleted file mode 100644 index 7db9c5a46..000000000 --- a/community/egoboo/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# $Id: PKGBUILD 71718 2012-06-01 18:47:50Z ebelanger $ -# Maintainer: Laurent Carlier <lordheavym@gmail.com> -# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> -# Contributor: Arkham <arkham at archlinux dot us> -# Contributor: rabyte <rabyte*gmail> -# Contributor: Andres Blanc <andresblanc@gmail.com> - -pkgname=egoboo -pkgver=2.8.1 -pkgrel=4 -arch=('i686' 'x86_64') -license=('GPL') -pkgdesc="An open-source action RPG/dungeon crawling adventure with OpenGL 3D graphics" -url="http://egoboo.sourceforge.net/" -makedepends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'physfs' 'enet' 'mesa') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz - $pkgname.png - $pkgname.desktop) -md5sums=('e6f3130695d297dcd9fe74e50bd59b68' - '7019f17b607fd45acf0d48ade746326a' - 'b81e0c8f3e0b9d8640d0cfc9b6d320a8') - -build() { - cd "$srcdir/egoboo-$pkgver/src" - - # fix data paths - sed -i -e 's#egoboo-2.x#egoboo#g' \ - -e 's#share/games#share#g' \ - -e 's#etc#share#g' \ - -e 's#games#bin#g' \ - game/platform/file_linux.c - - # fix linking - sed -i -e 's#-lenet#-lenet -lm#g' game/Makefile - - make all -} - -package() { - depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'physfs' 'enet' 'mesa' 'egoboo-data>=2.8.1') - - cd "$srcdir/egoboo-$pkgver" - - install -Dm755 src/game/egoboo-2.x $pkgdir/usr/bin/egoboo - install -d $pkgdir/usr/share/doc - cp -rf doc/ $pkgdir/usr/share/doc/$pkgname/ - - # Install icon and desktop files - install -Dm 644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png - install -Dm 644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop -} - |