updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / fishsupper / PKGBUILD
blob55c2c2c3b5ef2c946f29be152cbabdc100bbcac6
1 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
2 # Contributor: nut543 <kfs1@online.no>
4 pkgname=fishsupper
5 pkgver=0.1.5.1
6 pkgrel=2
7 pkgdesc="Simple arcade/puzzle game, loosely based on the retro classic Frogger"
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/fishsupper/"
10 license=('GPL3' 'CCPL')
11 depends=('gcc-libs' 'sdl_image' 'sdl_mixer')
12 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
13         $pkgname.patch
14         $pkgname.desktop
15         $pkgname.png)
16 md5sums=('26e8aa34213f45e60e3859c3efae636a'
17          'f5578b1e7b8f3beddbadbe169dc4c932'
18          'e266327dae6a63d5eb07b07f13a0928f'
19          '5bf6f4e44beb5659a1f2ba9048da225d')
21 build() {
22   cd "$srcdir"/$pkgname-$pkgver
23   patch -Np0 -i ../$pkgname.patch || return 1
24   ./configure --prefix=/usr || return 1
25   make || return 1
26   make DESTDIR="$pkgdir" install || return 1
27   install -Dm644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
28   install -Dm644 ../$pkgname.png "$pkgdir"/usr/share/icons/$pkgname.png