updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / go-ollie / PKGBUILD
blobe7b9a332a089bc4ad5d1b6620b72003ac4241647
1 #Maintainer : Jesse Jaara <Gmail.com: jesse.jaara>
3 pkgname=go-ollie
4 pkgver=1.3
5 pkgrel=4
6 pkgdesc="Go Ollie is a platform game with beautifully rendered scenes and animations."
7 arch=(i686 x86_64)
8 url="http://www.tweeler.com/index.php?PAGE=goollie_linux"
9 license=('GPL3')
10 depends=('libtuxcap')
11 makedepends=('cmake')
12 source=('http://huulivoide.pp.fi/Arch/GoOllie_1.3_src.tar.xz' 'GoOllie.desktop')
15 build() {
16   cd "$srcdir/GoOllie-1.3"
18   sed 's|libtuxcap.so.4.0|libtuxcap.so|' -i src/CMakeLists.txt
19   sed 's|/usr/share/games/goollie|/usr/share/goollie|' -i src/main.cpp
21   cmake ./
22   make
25 package() {
26   cd "$srcdir/GoOllie-1.3"
28   mkdir -p "$pkgdir/usr/share/pixmaps"
29   mkdir -p "$pkgdir/usr/share/applications"
30   mkdir -p "$pkgdir/usr/share/goollie"
31   mkdir -p "$pkgdir/usr/bin"
33   cp ./GoOllie "$pkgdir/usr/bin/"
35   cp -r ./data/* "$pkgdir/usr/share/goollie/"
36   cp ./src/*py "$pkgdir/usr/share/goollie/"
38   cp ../../GoOllie.desktop "$pkgdir/usr/share/applications/"
39   cp ./data/extraResources/Logos/icon.png "$pkgdir/usr/share/pixmaps/goollie.png"
42 md5sums=('f8c461b71f822c26b8dace8d4adf83f3'
43          '39d95ef38fb201ccce55743e499fe30b')