diff options
author | root <root@rshg047.dnsready.net> | 2011-05-25 22:48:05 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-25 22:48:05 +0000 |
commit | 6e35be4b44d90f92ddceb8b067cbbf03fc652a35 (patch) | |
tree | 5a27309f3fe126e49f5a2f08f08b2526bc8d4dc2 /community-staging/frogatto | |
parent | 363d953113a327863013a9422c8212654a86a209 (diff) |
Wed May 25 22:48:05 UTC 2011
Diffstat (limited to 'community-staging/frogatto')
-rw-r--r-- | community-staging/frogatto/PKGBUILD | 46 | ||||
-rw-r--r-- | community-staging/frogatto/frogatto | 3 | ||||
-rw-r--r-- | community-staging/frogatto/frogatto.desktop | 11 |
3 files changed, 60 insertions, 0 deletions
diff --git a/community-staging/frogatto/PKGBUILD b/community-staging/frogatto/PKGBUILD new file mode 100644 index 000000000..fb3b6553d --- /dev/null +++ b/community-staging/frogatto/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 47675 2011-05-24 19:05:16Z svenstaro $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Tom Wambold <tom5760@gmail.com> + +pkgname='frogatto' +arch=('i686' 'x86_64') +pkgver=1.1 +pkgrel=2 +pkgdesc="An old-school 2d platformer game, starring a certain quixotic frog" +url="http://www.frogatto.com" +license=('GPL') +depends=('libgl' 'mesa' 'glew' 'sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'libpng' 'boost-libs' 'frogatto-data') +makedepends=('boost') +source=(http://www.frogatto.com/files/$pkgname-$pkgver.tar.bz2 + frogatto + frogatto.desktop) +md5sums=('8c01c8a1d7ecf820a682eb684d8bf739' + '9ed2c9ea59e95fe3c0b3ad49e58f8890' + 'e31563b04748a39292a59aaad633ff58') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's/ccache //g' Makefile + sed -i 's/-lprofiler//g' Makefile + sed -i 's/-lboost_regex-mt/-lboost_regex/g' Makefile + sed -i 's/-lboost_system-mt/-lboost_system/g' Makefile + sed -i 's/-lboost_thread-mt/-lboost_thread/g' Makefile + sed -i 's/-lboost_iostreams-mt/-lboost_iostreams/g' Makefile + make game server +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -D -m755 game $pkgdir/opt/frogatto/game + install -D -m755 server $pkgdir/opt/frogatto/server + + install -D -m644 LICENSE $pkgdir/usr/share/licenses/frogatto/LICENSE + + cd $srcdir + install -DT -m755 frogatto $pkgdir/usr/bin/frogatto + install -D -m644 frogatto.desktop $pkgdir/usr/share/applications/frogatto.desktop +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/frogatto/frogatto b/community-staging/frogatto/frogatto new file mode 100644 index 000000000..0d741e0de --- /dev/null +++ b/community-staging/frogatto/frogatto @@ -0,0 +1,3 @@ +#!/bin/sh +cd /opt/frogatto +exec /opt/frogatto/game $* diff --git a/community-staging/frogatto/frogatto.desktop b/community-staging/frogatto/frogatto.desktop new file mode 100644 index 000000000..b0795467a --- /dev/null +++ b/community-staging/frogatto/frogatto.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Frogatto +GenericName=Old-school 2D platformer +Comment=Old-school 2D platformer +Exec=/usr/bin/frogatto +Terminal=false +MultipleArgs=false +Type=Application +Icon=/opt/frogatto/images/window-icon.png +Categories=Game;ArcadeGame |