blob: 93ec7f824962dd23cd5dd9684939dbd7b47b1cad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $Id: PKGBUILD 40999 2011-03-03 04:25:46Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Tom Wambold <tom5760@gmail.com>
pkgname='frogatto'
arch=('i686' 'x86_64')
pkgver=1.0.3
pkgrel=3
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=('1e9ffe729c78c88d1e29147694299531'
'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:
|